Stefan Hundhammer changed bug 1016618
What Removed Added
Status NEW CONFIRMED

Comment # 5 on bug 1016618 from
Arvin and I just checked: This happens only with the "Breeze" Qt widget theme.
It is correct with the other available widget themes, "Fusion" and "Windows".

What the YaST2 package selector widget (libyui-qt-pkg) does here is it sets
icons from XPM files (that are compiled into the code so no icons can ever get
lost) to QActions. It looks like that "Breeze" widget theme has a fixed width
for icons in menu entries, so it keeps the original height of each icon while
force-resizing its width, thus distorting the aspect ratio.

This happens only in QPopupMenu items, not at other places where those same
icons are also used, such as list widgets (the package list etc.) and QLabels
(e.g. in the "Installation Summary" filter view).

IMHO that is a bug of that widget theme.


How to reproduce: Install the "qt5ct" package, then (as root):

    export QT_QPA_PLATFORMTHEME=qt5ct
    qt5ct

change the icon theme there - first tab "Appearance", change the "Style" combo
box, then (again as root) start the YaST package manager:

    yast2 sw_single

Switch to a view where you can see packages (e.g. "Installation Summary").
Check the context menu in the package list or the "Package" menu. With the
"Breeze" icon theme, the icons are distorted (wrong aspect ratio). With the
"Fusion" or "Windows" icon theme, they look correct.


You are receiving this mail because: