[Bug 1162241] New: [Build 20200128] Retracted version is shown in red only if is installed
http://bugzilla.suse.com/show_bug.cgi?id=1162241 Bug ID: 1162241 Summary: [Build 20200128] Retracted version is shown in red only if is installed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: riafarov@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 828674 --> http://bugzilla.suse.com/attachment.cgi?id=828674&action=edit Run with XFCE ## Description On the versions tab, retracted version is not shown in red, unless is already installed. See the screenshots. I've checked that with xfce and gnome. Filing this as a bug, as in trello card this looks different: (https://trello.com/c/lRisXHUt/1556-8-package-selector-improvements-for-sle-8...) Also, it looks as a better warning for the user if red color is used. ## Steps to reproduce 1. Install TW with libyui-qt-pkg11 of verion 2.47.2 or newer 2. Add repo with retracted repo: http://download.opensuse.org/repositories/openSUSE:/Maintenance:/11749/openS... 3. Run software management yast module 4. Search for "hello" package and select it in the list 5. Select Versions tab 6. [RETRACTED] is written with black font Expected result: [RETRACTED] is written in red Please, find screenshots in the attachment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c1
--- Comment #1 from Rodion Iafarov
http://bugzilla.suse.com/show_bug.cgi?id=1162241
Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c2
Ancor Gonzalez Sosa
http://bugzilla.suse.com/show_bug.cgi?id=1162241
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c3
--- Comment #3 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c4
--- Comment #4 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c5
--- Comment #5 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c6
--- Comment #6 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c7
--- Comment #7 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c8
--- Comment #8 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c9
--- Comment #9 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c10
--- Comment #10 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c11
--- Comment #11 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c12
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c13
Lukas Ocilka
Unfortunately, "gtk2" seems to be the default Qt widget style for our GNOME desktop, and "Adawaita" is the default Qt widget style for our Xfce4 desktop.
But GNOME is the default. So, what about fixing / changing the style? Obviously it doesn't need to be done by us. Possible? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c14
--- Comment #14 from Lukas Ocilka
http://bugzilla.suse.com/show_bug.cgi?id=1162241
http://bugzilla.suse.com/show_bug.cgi?id=1162241#c15
Stefan Hundhammer
But GNOME is the default. So, what about fixing / changing the style? Obviously it doesn't need to be done by us. Possible?
I quoted the relevant code in comment #11 (including the link to the upstream repo). To me this looks like all color handling for this is done in the Gtk classes; no idea what would happen if this all of a sudden would use the QWidget::palette(). AFAIK Gtk themes use a whole lot of auxiliary files for things like colors; would this integrate with just using the QWidget::palette()? Or would single widgets just stick out like a sore thumb? I don't know. AFAICS we simply use the upstream code verbatim without any patch, and the change log shows exclusively openSUSE community members. https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtstyleplugi... https://build.opensuse.org/package/view_file/openSUSE:Factory/libqt5-qtstyle... To me this looks like we don't have that much in-house expertise, probably in particular not with the grey area where Qt meets Gtk. Is it possible to hammer it into shape? Probably; after all, it's just software. Will it break stuff? Very likely. Is it worth it? I don't think so. This is about optimizing a pathological case that will hopefully never happen. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com