Bug 431998 - Tray icon alignment on vertical panels is weird
Summary: Tray icon alignment on vertical panels is weird
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.20.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-23 16:33 UTC by Ilya Bizyaev
Modified: 2021-01-25 17:59 UTC (History)
1 user (show)

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


Attachments
8 icons (5.83 KB, image/png)
2021-01-23 16:33 UTC, Ilya Bizyaev
Details
6 icons (3.85 KB, image/png)
2021-01-23 16:33 UTC, Ilya Bizyaev
Details
List icons (739 bytes, application/x-shellscript)
2021-01-23 22:03 UTC, Konrad Materka
Details

Note You need to log in before you can comment on or make changes to this bug.
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?