Bug 431998

Summary: Tray icon alignment on vertical panels is weird
Product: [Plasma] plasmashell Reporter: Ilya Bizyaev <bizyaev>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: materka
Priority: NOR    
Version First Reported In: 5.20.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 8 icons
6 icons
List icons

Description Ilya Bizyaev 2021-01-23 16:33:04 UTC
Created attachment 135101 [details]
8 icons

SUMMARY
System tray icons are not top-aligned on vertical panels, which results in them taking up more space than necessary.


STEPS TO REPRODUCE
1. Place system tray on a vertical panel
2. Configure to get different element counts

OBSERVED RESULT
The tray wastes extra space.

EXPECTED RESULT
The tray minimizes required space on the panel.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
See the attachments for screenshots.
Comment 1 Ilya Bizyaev 2021-01-23 16:33:25 UTC
Created attachment 135102 [details]
6 icons
Comment 2 Konrad Materka 2021-01-23 22:03:06 UTC
Created attachment 135115 [details]
List icons

Hmm, for me it looks like one icon is not correctly rendered. Is it TeamViewer maybe?

Can you run attached script?
Comment 3 Ilya Bizyaev 2021-01-25 12:46:20 UTC
Indeed, it seems to be caused by IBus (which is installed because of Plasma's Emoji picker):

"""
ITEM:      :1.35/org/ayatana/NotificationItem/ibus_ui_gtk3
PID STAT:  3919 14:08:21 /usr/lib64/ibus/ibus-ui-gtk3
ID:        Error: org.freedesktop.DBus.Error.UnknownMethod No such interface “org.kde.StatusNotifierItem” on object at path /org/ayatana/NotificationItem/ibus_ui_gtk3
TITLE:     Error: org.freedesktop.DBus.Error.UnknownMethod No such interface “org.kde.StatusNotifierItem” on object at path /org/ayatana/NotificationItem/ibus_ui_gtk3
"""

Killing IBus removes the gap.
Comment 4 Konrad Materka 2021-01-25 17:59:17 UTC
On Neon distribution (Ubuntu based) everything is fine. Maybe it is an issue in openSUSE? Is ibus-daemon started?