Mailinglist Archive: opensuse-bugs (4627 mails)

< Previous Next >
[Bug 1037891] All YaST module window names show "ruby" instead of a more specifc name (was: Yast module windows in Plasma: generic x window icon and grouped as "ruby" in task manager)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 08 Jun 2017 10:04:44 +0000
  • Message-id: <>

--- Comment #24 from Fabian Vogt <fvogt@xxxxxxxx> ---
(In reply to Josef Reidinger from comment #23)
(In reply to Fabian Vogt from comment #22)
(In reply to Josef Reidinger from comment #21)
ok, so we at least move forward. I will check this icon issue, how to do
in qt properly.

It's not the icon, it's the WM_CLASS. It should be enough to just override
the passed argv[0] to the QApplication constructor, restoring the behaviour
before YaST launched with argv[0] == "ruby"

and that's the part that is not so easy, as libyui obtain it from /proc


in past it works due to this dirty hack, but we no longer want such nasty
hack. So we need find better way to pass it

Maybe QCoreApplication::setApplicationName("YaST2") works here. As YaST does
not use QSettings, that shouldn't have any ill side effects.

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >