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 12:54:21 +0000
  • Message-id: <bug-1037891-21960-yJthr3Gmgj@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1037891
http://bugzilla.suse.com/show_bug.cgi?id=1037891#c28

--- Comment #28 from Josef Reidinger <jreidinger@xxxxxxxx> ---
(In reply to Fabian Vogt from comment #27)
(In reply to Josef Reidinger from comment #25)
(In reply to Fabian Vogt from comment #24)
(In reply to Josef Reidinger from comment #23)
(In reply to Fabian Vogt from comment #22)
Maybe QCoreApplication::setApplicationName("YaST2") works here. As YaST
does
not use QSettings, that shouldn't have any ill side effects

that is what we already doing, so title is correct, but for not known reason
yet, no effect for icon

https://github.com/libyui/libyui-qt/blob/master/src/YQApplication.cc#L777

maybe we need to call also this
qApp->setWindowIcon ( QIcon ( pixmap ) );
to some predefined icon for yast, but I am not sure how it works with all
modules, as it probably have own icons.

The icon is not the issue here, WM_CLASS is wrong.

In 42.2, where everything works fine, WM_CLASS = "YaST2", "YaST2", while in
42.3 and TW WM_CLASS = "ruby", "YaST2 - sw_single @ linux-lm3i.site"

ok, I will try to play with passing -name option to qt server, which should fix
it. Problem is that WM_CLASS is by default argv[0], which is newly ruby.

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