Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window doesn't refresh #15

Open
arturo182 opened this issue Apr 26, 2021 · 9 comments
Open

Window doesn't refresh #15

arturo182 opened this issue Apr 26, 2021 · 9 comments
Labels
bug Something isn't working
Milestone

Comments

@arturo182
Copy link

I've tried upgrading from v0.2 to v1.0 and I had no problems with v0.2 but after upgrading to v1.0 I get this bug where the main app window doesn't refresh when I press buttons.
Surprisingly, the program still works, if I press "turn LEDs off" the LEDs do turn off, and I can access settings and go back, but I can't see them.

Check the gif below to understand what I mean:
magic

Here's my OS info, let me know if you need any more info:
image

@martynaskre martynaskre added the bug Something isn't working label Apr 27, 2021
@martynaskre
Copy link
Owner

Have you tried fully reinstalling?

@arturo182
Copy link
Author

I have now, uninstalled everything and removed the folder in %USER%/AppData/Roaming too, same issue :(

@martynaskre
Copy link
Owner

martynaskre commented Apr 27, 2021

Ok, this seems very weird. Could you clone this repo, make a test build and share your console logs?
I guess for now your best choice is to use 0.2 version.

@arturo182
Copy link
Author

I've never used Vue so that might be a bit difficult with no instructions 😅

@martynaskre
Copy link
Owner

Ahhh, forgot to add instructions to the README file 😄 Here they are:

npm i
npm run electron:serve

@arturo182
Copy link
Author

Ok, that took a bit more fighting with Visual Studio than I would've wanted, but managed to get it running.

When I do electron:serve the app appears as a floating window and then the UI works as expected, but when I click the tray icon so the app minimizes to tray and then I click tray again to get the pop up, I end up in the same semi-transparent, non-updating state. There are no errors either in the terminal or in the Developer Tools console :/

@martynaskre
Copy link
Owner

My best guess is that it has to do something with my workaround for window flickering. Maybe you could try to make a test build with commented lines from 125 to 129 and from 225 to 229 in this file?

@arturo182
Copy link
Author

Yes! Commenting out just the timeout on show fixes the issue:

image

I tried changing the timeout to 250 and 500 but the issue was still there.

Thanks for the help, that fixes it, at least temporarily :)

@martynaskre
Copy link
Owner

This seems weird because on my end without these lines window starts to flicker 😄 classical windows behaviour. I'll have another look for possible workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants