Summary: | On vertical panels, reversed task ordering mode undesirably rotates group dialog items 180° | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Martin Tlustos <martin.tlustos> |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate, niccolo.venerandi, qydwhotmail |
Priority: | NOR | ||
Version First Reported In: | 6.0.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/7ecd50f35eb27bc8b17e8a5da6f311bd4be89592 | Version Fixed In: | 6.3.5 |
Sentry Crash Report: | |||
Attachments: |
Screenshot
Original config file causing the faulty behavior |
Description
Martin Tlustos
2023-05-29 12:17:12 UTC
Could you attach a screenshot that shows the issue? Thanks. Created attachment 159492 [details]
Screenshot
Well that's the weirdest thing I've seen all day! Any updates? It's still the same in Plasma 6.0.1. Also, that bug is assigned to me (not a developer at all)... Martin, are you able to reproduce this issue in Plasma 6.1.4 or later? Yes, it's still there (Version 6.2.0 (24.08.0)) That's KMail's version, what about Plasma? Are you seeing it in Plasma 6.1.4 or newer? Operating System: KDE neon 6.0 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.8.0-40-generic (64-bit) Graphics Platform: Wayland Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics Memory: 15,0 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: Acer Product Name: Aspire A515-44G System Version: V1.12 Unfortunately I've still never been able to reproduce this. Can I ask you to please check to see if it's still an issue with Plasma 6.3 or later? Thanks! (In reply to Nate Graham from comment #9) > Unfortunately I've still never been able to reproduce this. Can I ask you to > please check to see if it's still an issue with Plasma 6.3 or later? Thanks! Yes, the bug is still alive and well with Plasma 6.3.3. I will try and set up a new user account to se whether it maybe has something to do with my personal configuration. Ok, I set up a new account, and I can't replicate it there either. I tried with two falkon windows, but text orientation is normal, whereas in my standard account, text orientation is upside down. So it seems to be something with my personal configuration that triggers this behavior. How incredibly bizarre. We don't have a "rotate your group dialog popup's icon and text 180°" setting, so it has to be an accidental side effect of something else. It would be amazing if you could figure out what it is. Unfortunately I can't help provide a hint of where you might start looking. It's really quite strange. Well, it should be somewhere in the plasma configuration files. I could either compare those with the ones in my test account, or I could rename them and re-login to see the changes. Does that sound like a good idea? Created attachment 180116 [details]
Original config file causing the faulty behavior
First try - full hit. I renamed plasma-org.kde.plasma.desktop-appletsrc, re-logged in and set everything to look like before, and voila - it works!
I have attached the original file. I don't know what could have caused this. I have compared the original and the new config file in kompare. The original file has a lot more entries, but nothing that hit my eye. The only thing that I saw that even remotely resembles something that could have caused it, is in line 85, there is a "reverse_mode=true" entry.
Thanks, very helpful! From that file, this is the config data for the task manager widget: [Containments][2][Applets][63] immutability=1 plugin=org.kde.plasma.icontasks [Containments][2][Applets][63][Configuration][ConfigDialog] DialogHeight=540 DialogWidth=720 [Containments][2][Applets][63][Configuration][General] groupingAppIdBlacklist=timeline_timeline.desktop,vlc.desktop,clementine groupingLauncherUrlBlacklist=applications:vlc.desktop,applications:timeline_timeline.desktop,file:///usr/bin/clementine launchers=preferred://filemanager,applications:org.kde.kontact.desktop,applications:org.kde.plasma-systemmonitor.desktop,applications:firefox.desktop reverseMode=true sortingStrategy=2 And this is the config data for its parent panel: [Containments][2] activityId= formfactor=3 immutability=1 lastScreen=0 location=5 plugin=org.kde.panel wallpaperplugin=org.kde.image I would recommend removing some key lines one at a time, and then restarting plasmashell. Start by removing "reverseMode=true", then try "sortingStrategy=2". If that doesn't work try doing it with the panel config data for the lines "formfactor=3", "immutability=1", "lastScreen=0", and "location=5", again, removing one at a time and restarting plasmashell in between. If that doesn't work, there's another thing that jumped out at me that we can try. See this? [Containments][1][Applets][5] immutability=1 plugin=org.kde.plasma.icontasks [Containments][1][Applets][5][Configuration][General] launchers=applications:org.kde.discover.desktop,preferred://filemanager,applications:firefox.desktop,applications:org.kde.plasma-systemmonitor.desktop It seems you have a second Task Manager somewhere. Is this intentional? If not, I would remove these lines and restart plasmashell and see if that helps. Hopefully we can get to the bottom of this! Setting reverseMode=false does the trick. Funny thing is, after using a fresh config and setting it up as before, it worked. I then restarted, and it had the same behavior as the old config. Checking, I saw that reverseMode was set to true, so I set it to false, and it worked - even after a restart. Wow, I can reproduce it now. I need to use two specific settings: New Tasks Appear: [whatever setting is not the default one] Clicking Grouped Task: Shows Textual list Then this happens 100% of the time. I think I see what's going wrong and will fix it. Thanks a lot for your patience here! A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2934 (In reply to Nate Graham from comment #17) > Wow, I can reproduce it now. I need to use two specific settings: > > New Tasks Appear: [whatever setting is not the default one] > Clicking Grouped Task: Shows Textual list > > Then this happens 100% of the time. I think I see what's going wrong and > will fix it. Thanks a lot for your patience here! Awesome, thanks for your hard work! Git commit 32c6a516039a6cf727b36be3c04f48ac9d1e6fb1 by Nate Graham. Committed on 16/04/2025 at 20:49. Pushed by ngraham into branch 'master'. applets/taskmanager: Don't undesirably rotate group dialog items On vertical panels, the "reversed ordering" feature is implemented by rotating the main item, and then un-rotating children as needed. The group dialog doesn't get un-rotated like this, so its items end up rotated 180°. Correct that here. FIXED-IN: 6.3.5 M +6 -0 applets/taskmanager/package/contents/ui/GroupDialog.qml M +3 -2 applets/taskmanager/package/contents/ui/Task.qml M +2 -1 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/32c6a516039a6cf727b36be3c04f48ac9d1e6fb1 Git commit 7ecd50f35eb27bc8b17e8a5da6f311bd4be89592 by Nate Graham. Committed on 16/04/2025 at 20:50. Pushed by ngraham into branch 'Plasma/6.3'. applets/taskmanager: Don't undesirably rotate group dialog items On vertical panels, the "reversed ordering" feature is implemented by rotating the main item, and then un-rotating children as needed. The group dialog doesn't get un-rotated like this, so its items end up rotated 180°. Correct that here. FIXED-IN: 6.3.5 (cherry picked from commit 32c6a516039a6cf727b36be3c04f48ac9d1e6fb1) 4a987779 applets/taskmanager: Don't undesirably rotate group dialog items Co-authored-by: Nate Graham <nate@kde.org> M +6 -0 applets/taskmanager/package/contents/ui/GroupDialog.qml M +3 -2 applets/taskmanager/package/contents/ui/Task.qml M +2 -1 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/7ecd50f35eb27bc8b17e8a5da6f311bd4be89592 |