-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
[Linux+X11] GUI scaling is reset when switching view modes #1145
Comments
When you say mini-mode do you mean F8? Do you still have the issue on the latest development build? |
Yes, F8 or right-clic in the bottom panel > Mini. |
The download is an archive with an executable inside, just run the executable |
Please explain to me step by step what I need to download (url etc.) and the name of the executable.
|
It looks like you're following the building on Windows page instead of the development prebuilts page I linked. Follow this - https://github.com/Taiko2k/Tauon/wiki/Development-builds Not this - https://github.com/Taiko2k/Tauon/wiki/Building-for-Windows I've edited the page a little to hopefully make things a bit more clear.
|
You should just specify that you have to search among the "Update... [something]". |
I've reworded it further, hopefully that makes it clearer, I plan to create proper pre-releases on the Releases page from it, but this will have to do for now. |
It's much worse: any right-click choice on the menu icon at the bottom (Mini etc.) instantly closes Tauon almost every time, otherwise the resizing problem persists. Here are the terminal messages on a crash:
|
This is Ubuntu 24.04 and GNOME? I am betting on the failed-to-load EDIT: Can you try this build? If nothing else, it should at least get rid of the canberra load fail. |
I am now on ubuntu 24.10, "ubuntu on Xorg" session, GNOME-Shell. Immediate crash with the indicated package when selecting "Mini". Terminal output:
|
There is still a small improvement: when we do not crash (the "Tab" layout seems less "fragile", all the others crash), the resizing is preserved. |
So basically your initial problem is solved, but these prebuilts crash for you? Can you test if you also get the same crash on a Wayland session, or if it's only limited to X? Looks like the canberra module fix at least took. |
On Wayland the terminal responds:
|
Alas! No, the problem is not solved: back on Xorg, I switch to Mini mode without crash, and when returning to normal mode I lose resizing again. Same thing with the "Tab" mode. |
I managed to reproduce the If you can run Tauon yourself from my branch you will probably no longer suffer the crashes, but I imagine your original issue (which I am having trouble reproducing) will still be there at least on X. Let's deal with the crashes first.
The question is if it's a failure of the pyinstaller packaging, or something wrong with your system. I imagine 24.04 dependencies/libraries may not like the 24.10 system. Can you grab my fork with the Both the X Something like this should do: sudo apt install -y libayatana-appindicator3-dev gir1.2-rsvg-2.0 libpipewire-0.3-dev libdbus-1-dev libsdl2-2.0-0 libsdl2-image-2.0-0 fonts-noto gir1.2-notify-0.7 libcairo2-dev python3-gi-cairo libwavpack-dev libsamplerate0-dev libopenmpt-dev libvorbis-dev libopusfile-dev libflac-dev libgme-dev libmpg123-dev
git clone https://github.com/C0rn3j/Tauon.git
cd Tauon
git checkout device
./run.sh 1
# ./run.sh 2 - on subsequent runs after you get it working once, to avoid constantly rebuilding everything The dependency list is made on 24.04, but it will hopefully be the same for 24.10. If you get it to stop crashing on Wayland, can you test if your scaling issue happens there then? |
Your device branch with ./run.sh 1 (on Xorg):
|
That would suggest you did not run the first command and do not have |
About X seek_r and Wayland mesa:
(means: Unable to read the remote repository. Please check that you have access rights and that the repository exists.) |
Whoops, gave you the git link instead of http, fixed the command ( |
Same problems (still on Xorg): crashes and lost resizing.
|
|
Resize lost during playback. |
I meant if you are able to reproduce the crashing with seek_r during playback, since to me it seems like this is a bug that assumes that something will always play, and if it doesn't - crash in minimode. |
Indeed, with your version, the command ./run.sh 1 and on Xorg, if a song is playing, changes in display modes do not crash Tauon (but the resizing is lost). |
https://github.com/Taiko2k/Tauon/actions/runs/12557615679?pr=1361 This should fix the seek_r crash (minimode looks fairly blank when you run into this situation, but it beats a crash). Can you check if ./run.sh 1 works on Wayland and if it has your scaling reset issue? You probably want to do a |
First, is this the right command (I'm not familiar with git)?
(Déjà à jour = Already up to date) If yes: both on Xorg and on Wayland, Tauon crashes before any song is played by changing mode - tested with "Mini", "Square" and "Large square", but not "Tab" (and with "Tab" the resizing is preserved). |
Post the crash log please |
It shouldn't crash on
and that it still truly gives you that crash there? Because it did fix it on my side. |
Attention:
(commande introuvable = command not found). It works better with Yes, my .venv/lib/python3.12/site-packages/tauon/t_modules/t_main.py file is compliant. |
Can you give the exact reproduction steps to get it to crash now? Because if I launch Taoun here and mash F8 it no longer crashes. I don't see how that state should be possible on the up to date version ._. Screencast_20241231_122344.webm |
Steps to reproduce:
-> Playlist empty
|
P.S.: I agree to stay on Wayland... if you help me get Birdtray working properly there, which is the only reason I'm staying on Xorg. :-) |
I note that I now have to double-click to change mode via the context menu in the bottom bar, as well as on the ˅ icon to exit a mode other than normal mode. |
If you redo those steps, it should be gone now, and hopefully not crash on a third thing.
Me getting you to try Wayland was to nail the issue down, not to try to get you to switch, and now it's to diagnose the Wayland crashing issue, which is not reproducible on my HW+SW combo. The latest prebuilt with the fixes included is here - https://github.com/Taiko2k/Tauon/actions/runs/12559236662 (still needs deleting the 4 _internal files and getting back as to if that helped) That said, in the Wayland implementation thread on Birdtray's side, there are people suggesting alternative solutions that worked for them. |
I don't have any libwayland* files in my Tauon folder. |
They are exclusive to the prebuilt image, which is the thing that crashes on your system. I.e. not the git cloned directory, but the zipped up download I linked to. |
It doesn't seem to crash anymore, actually. I don't have to click two times on the ˅ icon anymore, but still in the modes context menu. |
Can you clarify just to make sure we're talking about the same thing, since we're sorting out three issues at the same time in this thread(X11 scaling reset, Wayland prebuilt crash, mode switch crash)?
A) The Wayland prebuilt on launching after deleting the 4 files in the prebuilt image |
A coffee and I'll be back, I hope with good news (to end the year)! :-) |
I downloaded the archive at https://github.com/Taiko2k/Tauon/actions/runs/12559236662, deleted the 4 libwayland* files, then ran the "Tauon Music Box" file: no crashes when testing all modes. There remains the annoying obligation to click twice in the mode menu and, apparently only in Mini mode, twice on the ˅ icon to exit it. I don't understand what difference you make between this:
It's time for me to go buy my New Year's Eve dinner, so don't expect me for about an hour. Think about that too, huh? :-) P.S. 2: I haven't actually used Tauon for over three months, in favor of gmusicbrowser for which I just spent over two months giving it its very first graphic theme (https://www.pling.com/p/2230712/). |
The prebuilt image has this extra crash on launch at the moment, thanks for getting back, I'll yeet libwayland from the images then + made a report upstream as that seems like an odd default to me pyinstaller/pyinstaller#8963
I've noticed that in the input forms in the Accounts menu too, presumably a Wayland exclusive issue then. |
Back on Xorg, I confirm that the 2-clicks problem is not there. However, under the previous conditions (archive from https://github.com/Taiko2k/Tauon/actions/runs/12559236662, the 4 libwayland* files deleted and Tauon launched from the "Tauon Music Box" file, but this time on Xorg), resizing crashes Tauon (as soon as the cursor is released). This bug is completely new! :-( |
Got the log? |
(Message: Échelle d'IU anormale détectée.L'option a été réinitialisée à 1x = Message: Abnormal UI scale detected. Option has been reset to 1x) 2nd try, this time after maximizing the Tauon window:
|
That would be something I recently broke in that PR, thanks for catching that. https://github.com/Taiko2k/Tauon/actions/runs/12561355455?pr=1361 This build should work fine, not requiring any deletion, hopefully with zero crashes. The X scaling bug this issue is originally about is still present, as I have no clue how to fix that one… |
The "Copy title to clipboard" option at the bottom of the display modes menu (with an empty playlist) crashes Tauon with:
One more effort, and you will have earned a good New Year's Eve! :-) |
The great news is that, even if you don't know why, the resizing problem has disappeared! Chill the champagne! |
That'd be because I fixed the issue in the log you sent :)
I fixed it but I had no clue how you're summoning it until I realized it's another bug I am not dealing with right now :/ #1368 |
Are you saying there is a new fixed version available for download somewhere, so I can test it? |
It's still the Would be this build - https://github.com/Taiko2k/Tauon/actions/runs/12561839441 |
Sorry... but with the version downloaded just now at https://github.com/Taiko2k/Tauon/actions/runs/12561839441 the resizing is lost (but no problem with the "Copy title to clipboard" option) :
|
Ahh, I thought you mean crash during resizing, not the scaling setting persisting. That's not fixed, but am glad that the crashing is at bay for now. |
Sorry... but you still don't deserve a single aperitif! I tested Tauon very well, so I'm on my 2nd aperitif! :-) |
Tauon v7.7.2 on ubuntu 24.04
Steps to reproduce :
Gui scale is reset to 1.00x.
The same thing happens when leaving other views.
It is tedious to redo the display scale adjustment, so I have to give up using the different displays that you have carefully created: very unfortunate, isn't it? So please consider this issue very seriously!
The text was updated successfully, but these errors were encountered: