Bug 447168 - System tray in vertical mode does not wrap the menu indicator vertically
Summary: System tray in vertical mode does not wrap the menu indicator vertically
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.22.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-18 13:11 UTC by Reuben
Modified: 2021-12-29 21:00 UTC (History)
2 users (show)

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


Attachments
systray screenshot (22.56 KB, image/png)
2021-12-18 13:11 UTC, Reuben
Details
vertical (254.82 KB, image/png)
2021-12-23 21:37 UTC, Reuben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben 2021-12-18 13:11:09 UTC
Created attachment 144642 [details]
systray screenshot

1. Add system tray as a widget to the desktop
2. Resize vertically

EXPECTED
Should be able to resize to 1 column wide

CURRENT BEHAVIOR
Systray menu icon won't wrap
Comment 1 Nicolas Fella 2021-12-18 13:33:47 UTC
Which Plasma version are you using?
Comment 2 Reuben 2021-12-18 13:36:01 UTC
4:5.22.5-0ubuntu1
Comment 3 Konrad Materka 2021-12-23 21:12:06 UTC
Hmm, this looks as expected behavior. Desktop widgets are always horizontal, doesn't matter how tall you make them. As far as I know (but maybe I'm wrong) it is not possible to configure orientation for desktop widgets.

You can play with different settings using this command:

plasmoidviewer --applet org.kde.plasma.systemtray
Comment 4 Reuben 2021-12-23 21:37:05 UTC
Created attachment 144818 [details]
vertical

Good tip - so it does look like there is a vertical form factor available which does the right thing. Is there a way to force a desktop widget to a particular form factor?
Comment 5 Konrad Materka 2021-12-29 21:00:28 UTC
(In reply to Reuben from comment #4)
> Good tip - so it does look like there is a vertical form factor available
> which does the right thing. Is there a way to force a desktop widget to a
> particular form factor?

Yes, there is a way to force that.

Open file "~/.config/plasma-org.kde.plasma.desktop-appletsrc". Find section with "plugin=org.kde.plasma.private.systemtray" - it is possible that you have several such sections if you have system tray configured in panels. Change formfactor to 3.

Example:

[Containments][46]
activityId=
formfactor=3
immutability=1
lastScreen=-1
location=0
plugin=org.kde.plasma.private.systemtray
wallpaperplugin=org.kde.image