Closed nathana212 closed 6 months ago
Hi @nathana212 and thanks for the report. This is a known electron behavior where it takes some time to show the correct colors. I have some workarounds in code but I guess they are not enough. Not sure if I can make it better ;/
Thanks @hovancik. As noted, the process still works perfectly in 1.7.0 (and that's the last version it seems to work correctly), so is there something from the code that could be pulled from that version?
I understand for most this may not be not an issue, but I'm an audiobook narrator and even when the break starts, it's nice that I can still see through the color and finish the current sentence without having to immediately restart (because it flashes an opaque gray first).
Hey, sorry for not replying @nathana212 . Too many issues :(
I have no idea if there would be any help trying to get code from 1.7.0 because Electron had many updates meanwhile and I remember I did rather big changes because of some bugs in that area.
Is this still similar with latest Stretchly? I can try looking into code again, maybe I will come up with something
Thanks for checking in on this. Just tried latest version, 1.15.1, and the same momentary opaque issue is still happening before the transparent effect. Looks like I'll just keep using 1.7 for now.
Ok, I think this is the change: https://github.com/hovancik/stretchly/pull/978. Funny enough, it was to address the bug where there was blank break window.
@nathana212 are you able to test #1442 locally? I don't have supported mac machine, but it seems to help (but not always) with your issue.
If you can walk me through how to test that, sure. I've only ever downloaded the .dmg packages to install
No worries, I was able to make a new build: can you try? https://conta.noho.st/nextcloud/s/YfWsZma6yA7e33f
Tried this out. It seems to usually be fine and not present the problem, but every now and then, the gray screen still flashes before transparency. I reduced the opacity to .3 and that seemed to create the gray flash, but then I changed it back to .4 (my original setting), then back to .3 and the gray flash is sporadic. I can't seem to consistently re-create it, though at higher opacities (> .5), I don't notice it as much. Might the opacity have an impact on this behavior?
I'll also note that when it does work correctly (no gray flash, just transparency) the transition to the break seems a little stronger than 1.7. I'd have to re-install and check that (might just be remembering it differently), but would anything have changed with how the screen loads from 1.7 to 1.15.99?
Transparency in Electron is not working well, so yeah, it is because of it :)
What do you mean that transitions seems a little stronger?
What I changed is the time when I show the break window (it is hidden by default and I try to show it when it should be ready loading all the things). Before I was waiting for some electron event telling me that break window is ready/done loading, and now I am not trusting the event, but show the Break only when my code tells me that all the changes I am doing for break window are done. Non is perfect.
Version
Known issues
Existing issues
Advanced Preferences
What operating system are you using?
Windows
Operating System Version
12.2.1
Reproduction steps
Expected Behavior
Display goes immediately to chosen transparent color, not gray.
Actual Behavior
Displays entire screen of gray for a split-second before going to correct color.
Relevant log output
No response
Preferences
Additional information
I have remained on version 1.7.0 as that has been the latest stable version for me - every other later release has some kind of bug or issue and version 1.7.0 works exactly as expected.
Code of Conduct