- Spoiler: show
But maybe it's intentional for performance or other reasons?
Moderator: 1885

I'm pretty sure that's still a result of it going through the scaling function. It shoves every image through it no matter what. And since that function also applies a light blur (which is apparently intended to make scaled down images look better, oops), I think it probably accounts for what you're seeing.Pseudonym wrote: Mon Jan 24, 2022 5:23 pmAltought I'm 100% sure it's not just scaling. The quality is reduced and there are also artifacts added.
My guess is that GuideMe is doing some sort of compression of all shown images.
Ah, yes. You are right. Here is the tmp vs original:RemiHiyama wrote: Mon Jan 24, 2022 6:26 pmI'm pretty sure that's still a result of it going through the scaling function. It shoves every image through it no matter what. And since that function also applies a light blur (which is apparently intended to make scaled down images look better, oops), I think it probably accounts for what you're seeing.Pseudonym wrote: Mon Jan 24, 2022 5:23 pmAltought I'm 100% sure it's not just scaling. The quality is reduced and there are also artifacts added.
My guess is that GuideMe is doing some sort of compression of all shown images.
It's possible that the browser control is also introducing artifacts, but I don't think it's likely. But you can see for yourself - if you leave the page open in GuideMe, and go to the /data subdirectory of your GuideMe folder, there should be a file in there with a name beginning with "tmpImage". That's the output of the scaling function. If that shows the same issues, then that confirms their source.

Hmmm, I believe the term I'd use is "overzealous" - it makes sense some of the time, but it's doing it all of the time whether it makes sense or not.Pseudonym wrote: Mon Jan 24, 2022 6:53 pmAgain, if lowering the quality is intended and it has its technical justification, I accept it.
I'm glad to hear that. I always feel like a dick when nitpicking other's work.RemiHiyama wrote: Mon Jan 24, 2022 7:04 pm Hmmm, I believe the term I'd use is "overzealous" - it makes sense some of the time, but it's doing it all of the time whether it makes sense or not.
In any event, adding some new options to control this behavior is definitely on my list of things to look into. (Well, technically it was already there, since I don't entirely like how it does things either, but you've brought some things to my attention about it that I hadn't noticed before.)

Yep, the line of code that adds hotkeys doesn't check whether the button is disabled or not at all. Pretty easy fix.Pseudonym wrote: Tue Jan 25, 2022 12:09 am Btw I think I found a bug. Disabled buttons can still be triggered by their hotkeys.

That reminds me. There is another issue I've noticed with hotkeys. If you are on page of a tease that has buttons with hotkeys and open the debug window to jump to another page (like while debugging or testing), if you start typing in the dropdown box to enter a page name, if that page name uses any of the hotkeys, the hotkeys trigger that button, even though technically the Guideme window no longer has focus, the debug window does. You have to jump to some safe page that doesn't have hotkeys, and whose name doesn't use any of the characters used as hotkeys on the active page.RemiHiyama wrote: Tue Jan 25, 2022 6:04 pmYep, the line of code that adds hotkeys doesn't check whether the button is disabled or not at all. Pretty easy fix.Pseudonym wrote: Tue Jan 25, 2022 12:09 am Btw I think I found a bug. Disabled buttons can still be triggered by their hotkeys.

I see what you mean - if you run GuideMe with java instead of javaw in the batch file so you get a command window, you can see all the listeners firing no matter what window you have open. There's some code that appears intended to prevent that from happening, but it's obviously not working and I don't really know why it's being done the way it is.PlayfulGuy wrote: Tue Jan 25, 2022 7:52 pmThat reminds me. There is another issue I've noticed with hotkeys. If you are on page of a tease that has buttons with hotkeys and open the debug window to jump to another page (like while debugging or testing), if you start typing in the dropdown box to enter a page name, if that page name uses any of the hotkeys, the hotkeys trigger that button, even though technically the Guideme window no longer has focus, the debug window does. You have to jump to some safe page that doesn't have hotkeys, and whose name doesn't use any of the characters used as hotkeys on the active page.

It was done like that, because I hadn't done professional coding in ten years and was learning Java to get back into programming again. A lot of Guideme was written when my skills were very rusty, in a language I hadn't used before, so a lot of it was just the first thing I got to workRemiHiyama wrote: Wed Jan 26, 2022 6:19 amI see what you mean - if you run GuideMe with java instead of javaw in the batch file so you get a command window, you can see all the listeners firing no matter what window you have open. There's some code that appears intended to prevent that from happening, but it's obviously not working and I don't really know why it's being done the way it is.PlayfulGuy wrote: Tue Jan 25, 2022 7:52 pmThat reminds me. There is another issue I've noticed with hotkeys. If you are on page of a tease that has buttons with hotkeys and open the debug window to jump to another page (like while debugging or testing), if you start typing in the dropdown box to enter a page name, if that page name uses any of the hotkeys, the hotkeys trigger that button, even though technically the Guideme window no longer has focus, the debug window does. You have to jump to some safe page that doesn't have hotkeys, and whose name doesn't use any of the characters used as hotkeys on the active page.
This one might be an EroticDevelopment problem.

Having learned python to write my new downloader I can totally relate to that. Many times I've had to go back and revisit code as I learned, or now I look at code I wrote a year ago and with the benefit of what I've learned I can see way better ways of doing what I did back then. And they don't always get updatedphilo wrote: Thu Jan 27, 2022 5:27 pmIt was done like that, because I hadn't done professional coding in ten years and was learning Java to get back into programming again. A lot of Guideme was written when my skills were very rusty, in a language I hadn't used before, so a lot of it was just the first thing I got to workRemiHiyama wrote: Wed Jan 26, 2022 6:19 amI see what you mean - if you run GuideMe with java instead of javaw in the batch file so you get a command window, you can see all the listeners firing no matter what window you have open. There's some code that appears intended to prevent that from happening, but it's obviously not working and I don't really know why it's being done the way it is.
- Spoiler: show
This one might be an EroticDevelopment problem.![]()

Ah.philo wrote: Thu Jan 27, 2022 5:27 pmIt was done like that, because I hadn't done professional coding in ten years and was learning Java to get back into programming again. A lot of Guideme was written when my skills were very rusty, in a language I hadn't used before, so a lot of it was just the first thing I got to work![]()

This has been an issue in all versions of Guideme that I've used. I think it's always been like this, I just never got around to mentioning it since it really only pops up when you're trying to debug an issue with a tease that happens to use hotkeys.RemiHiyama wrote: Sat Jan 29, 2022 7:20 amAh.philo wrote: Thu Jan 27, 2022 5:27 pmIt was done like that, because I hadn't done professional coding in ten years and was learning Java to get back into programming again. A lot of Guideme was written when my skills were very rusty, in a language I hadn't used before, so a lot of it was just the first thing I got to work![]()
Guess the question is why it stopped working, since it seemed fine in 4.4, and I didn't think anything had touched that code... Well, a different approach is probably indicated anyway, since if you've had library window open and then closed it (ie used it at all), it'll start spitting out error messages for every keypress as it tries to get the text of a widget that's been disposed of. Presumably the same thing happens if you close the debug window.

I really don't know what to make of that, since it's definitely not happening in my copy of 4.4. Maybe something else about our installs is causing different behavior?PlayfulGuy wrote: Sat Jan 29, 2022 5:26 pmThis has been an issue in all versions of Guideme that I've used. I think it's always been like this, I just never got around to mentioning it since it really only pops up when you're trying to debug an issue with a tease that happens to use hotkeys.

Good catch, removed.RemiHiyama wrote: Tue Jan 18, 2022 2:19 amI did some digging and it looks like that never got put back into master on my fork, so there's nothing code-side for you to do; I can just pull that out and submit the backend stuff at a later date, since I think it's still pretty solid and that repeating and/or fractional timers are useful things to have.EroticDevelopment wrote: Mon Jan 17, 2022 5:16 amI do plan on removing these as discussed. I don't believe any of that was included in the 0.4.5 release I published, but if I missed something let me know.
But there's still a line in the release notes at https://github.com/EroticDevelopment/Gu ... tag/v0.4.5 about repeating timers that should be removed.
After some digging, it looks like this change was likely accidentally reverted in the Revert Timer Enhancements commit. I looked through that one but didn't notice this was a part of that revert commit. I'll make sure this is put back in the next release.RemiHiyama wrote: Tue Jan 18, 2022 2:19 am ... And also the fix for https://github.com/EroticDevelopment/GuideMe/issues/33 seems to have gotten lost somewhere in there. (It's this commit.)
Kind of not really? I'm building it on Windows (using mvn's "-P linux64" to set the profile) and then attaching the debugger remotely from my IDE on Windows. It works but isn't ideal. Since I'm running these VMs in VirtualBox it's not as bad. I can share the build folder to the VM and port-forward the debugging port. I initially ran into a crash-on-launch bug that drove me nuts for about an hour. I finally rolled all the way back to 4.4 to try to find the bug. 4.4 worked, so I re-built 4.5 and magically it worked now too. I have no idea what changed. I completely removed the build directories to no avail before all this, so I really can't figure out what was cached causing the issue. I have to think somehow mvn was hanging on to something and causing the issue.RemiHiyama wrote: Tue Jan 18, 2022 2:19 amWill it actually run for you? I've had crashes on launch with my attempted fixes, but I'm not certain the problem isn't something missing/misconfigured in the VM I'm using for testing the linux build.EroticDevelopment wrote: Mon Jan 17, 2022 5:21 amI've been spending some time looking at this but so far haven't made any major breakthroughs. I kind of know what's causing it, just trying to figure out how to fix it any why. This issue and the video playing in its own window are largely the same issue I believe. Somewhere it's not attaching the video surface correctly.

I definitely know what you mean having spent time on both sides of this one, but don't feel bad. Feedback is what drives a significant part of development on applications like this. As a developer it's also frustrating when there's a small bug that would take <5min to fix and you find out months later it's been detracting from the application.Pseudonym wrote: Tue Jan 25, 2022 12:09 amI'm glad to hear that. I always feel like a dick when nitpicking other's work.RemiHiyama wrote: Mon Jan 24, 2022 7:04 pm Hmmm, I believe the term I'd use is "overzealous" - it makes sense some of the time, but it's doing it all of the time whether it makes sense or not.
In any event, adding some new options to control this behavior is definitely on my list of things to look into. (Well, technically it was already there, since I don't entirely like how it does things either, but you've brought some things to my attention about it that I hadn't noticed before.)![]()
Yep, that's a bug. If Remi hasn't resolved this one I'll take a look while I'm looking at some other hotkey issues mentioned above.Pseudonym wrote: Tue Jan 25, 2022 12:09 am Btw I think I found a bug. Disabled buttons can still be triggered by their hotkeys.