Bug 470410 - On vertical panels, reversed task ordering mode undesirably rotates group dialog items 180°
Summary: On vertical panels, reversed task ordering mode undesirably rotates group dia...
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.0.1
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 12:17 UTC by Martin Tlustos
Modified: 2025-04-11 11:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (96.76 KB, image/jpeg)
2023-06-06 08:59 UTC, Martin Tlustos
Details
Original config file causing the faulty behavior (7.28 KB, text/plain)
2025-04-09 11:12 UTC, Martin Tlustos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tlustos 2023-05-29 12:17:12 UTC
SUMMARY
I have the plasma panel on my left side, use window list with symbols only.
When dragging a file from dolphin onto an open email editor window, the list on the panel appears heads-down (108 degrees turned).

Nothing major, but maybe worth looking into.

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Put the plasma panel to the left side
2. use the window list with symbols only
3. open kmail/kontact, click "new message"
4. drag a file from dolphin into the new message window

OBSERVED RESULT
windows list text of kmail appears turned by 180°

EXPECTED RESULT
text should appear normal

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 5.19.0-41-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
Comment 1 Nate Graham 2023-06-05 03:45:01 UTC
Could you attach a screenshot that shows the issue? Thanks.
Comment 2 Martin Tlustos 2023-06-06 08:59:39 UTC
Created attachment 159492 [details]
Screenshot
Comment 3 Nate Graham 2023-06-06 15:19:05 UTC
Well that's the weirdest thing I've seen all day!
Comment 4 Martin Tlustos 2024-03-25 09:31:36 UTC
Any updates? It's still the same in Plasma 6.0.1. Also, that bug is assigned to me (not a developer at all)...
Comment 5 Nate Graham 2024-08-28 19:21:22 UTC
Martin, are you able to reproduce this issue in Plasma 6.1.4 or later?
Comment 6 Martin Tlustos 2024-08-29 05:53:44 UTC
Yes, it's still there (Version 6.2.0 (24.08.0))
Comment 7 Nate Graham 2024-08-29 19:47:58 UTC
That's KMail's version, what about Plasma? Are you seeing it in Plasma 6.1.4 or newer?
Comment 8 Martin Tlustos 2024-08-30 08:20:32 UTC
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
Comment 9 Nate Graham 2025-04-06 14:51:52 UTC
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!
Comment 10 Martin Tlustos 2025-04-07 11:30:05 UTC
(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.
Comment 11 Martin Tlustos 2025-04-07 12:33:59 UTC
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.
Comment 12 Nate Graham 2025-04-08 16:50:18 UTC
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.
Comment 13 Martin Tlustos 2025-04-09 10:55:45 UTC
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?
Comment 14 Martin Tlustos 2025-04-09 11:12:01 UTC
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.
Comment 15 Nate Graham 2025-04-09 16:29:28 UTC
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!
Comment 16 Martin Tlustos 2025-04-10 07:53:49 UTC
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.
Comment 17 Nate Graham 2025-04-10 14:57:01 UTC
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!
Comment 18 Bug Janitor Service 2025-04-10 15:33:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2934
Comment 19 Martin Tlustos 2025-04-11 11:26:09 UTC
(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!