TimerX icon indicating copy to clipboard operation
TimerX copied to clipboard

Cannot run the app on Windows 11 dark mode

Open Alfex4936 opened this issue 3 years ago • 17 comments

Just installed, tried to run the app but it gave me those errors.

image

windows11 (b22000) using dark mode in settings (Personalize - Color)

Alfex4936 avatar Apr 19 '22 07:04 Alfex4936

Woah wth never seen that! I'll debug today and find the errors. Does the same happen when you run it directly from Python3.10?

im-coder-lg avatar Apr 19 '22 07:04 im-coder-lg

looks like your theme files are corrupted

not-nef avatar Apr 19 '22 08:04 not-nef

Looks like the system can't read the images in the first place!

im-coder-lg avatar Apr 19 '22 09:04 im-coder-lg

looks like your theme files are corrupted

Tk 8.5 gives this same error, when using png-s, since png support was only added in Tk 8.6. Probably this isn't the error, if TimerX was compiled with Tk 8.6, the exe should contain that version, but idk exactly how cx_freeze compiles python files.

rdbende avatar Apr 19 '22 19:04 rdbende

Yeah we should switch to pyinstaller soon.

not-nef avatar Apr 19 '22 20:04 not-nef

Woah wth never seen that! I'll debug today and find the errors. Does the same happen when you run it directly from Python3.10?

will try it later! but on my laptop using Windows 10 (dark mode)

the background is just transparent like this?

제목 없음

Alfex4936 avatar Apr 20 '22 07:04 Alfex4936

That's normal. Switch to darkmode and restart the app via CLI, it would look better.

im-coder-lg avatar Apr 20 '22 07:04 im-coder-lg

That's normal. Switch to darkmode and restart the app via CLI, it would look better.

Oh didnt know that option thanks! now it looks like this sadly

image

And if I set the timer for 1h 0m 0s, it just changes to default second when I hit play btn (setting like 1:33:0 works like 1:32:50)?

Alfex4936 avatar Apr 20 '22 08:04 Alfex4936

Use it in system dark mode, it would look a lot more better ;)

im-coder-lg avatar Apr 20 '22 09:04 im-coder-lg

It's the font colliding with the background, but hold up, the titlebar... Anyone know what that line of code is?

im-coder-lg avatar Apr 20 '22 09:04 im-coder-lg

But this is indeed a bug, we achieved this at compile-time, hence we either have to switch to PyInstaller, or fix cx_Freeze. Have YOu edited any code in setup.py? Could lead to mishaps. Tagging this as compile error and adding to project to get resolved.

im-coder-lg avatar Apr 20 '22 09:04 im-coder-lg

We have plenty of time in the future since we have got holidays, so we'll try finding a potential bug fix at that time, it's best to investigate this for the time being. This deffo needs some team effort, so doing bug fixing in the holidays would be great since we can work simultaneously.

im-coder-lg avatar Apr 20 '22 09:04 im-coder-lg

Well, No the background isnt supposed to be transperent, it should have acrillic on win10 and mica on win11. @not-nef can you add the build.bat from Flux to TimerX?

sumeshir26 avatar Apr 20 '22 11:04 sumeshir26

Will do when i have time

not-nef avatar Apr 20 '22 12:04 not-nef

Well, No the background isnt supposed to be transperent, it should have acrillic on win10 and mica on win11.

Code errors for light mode bro

@not-nef can you add the build.bat from Flux to TimerX?

It better not be my kind of script to build TimerX! I made one and then we switched to cx_Freeze!

im-coder-lg avatar Apr 20 '22 12:04 im-coder-lg

You know, while rereading this, I found this:

And if I set the timer for 1h 0m 0s, it just changes to default second when I hit play btn (setting like 1:33:0 works like 1:32:50)?

It seems weird, but I don't know how the heck we could find that one line that disrupts this... Sorry to tell this really late, but I have vacations from tomorrow, so can't help at that time :( will try being updated though.

im-coder-lg avatar Apr 22 '22 13:04 im-coder-lg

Ill fix the default sec thing by monday if nobodydoes it tell then

sumeshir26 avatar Apr 22 '22 13:04 sumeshir26