Re: Aw: Re: setWindowIcon for QDialog

2019-04-28 Thread Alexander Semke
Hi Martin, Hi Friedrich, any thoughts on the behavior in openbox vs. kwin described below? Regards, Alexander Am Donnerstag, 7. März 2019, 22:44:58 CEST schrieb Alexander Semke: > On Donnerstag, 7. März 2019 21:02:49 CET Martin Flöser wrote: > > [...] > > Not in this case as the window is missi

Re: Aw: Re: setWindowIcon for QDialog

2019-03-07 Thread Alexander Semke
On Donnerstag, 7. März 2019 21:02:49 CET Martin Flöser wrote: > [...] > Not in this case as the window is missing the icon property as can be > seen in the xprop output. > > But apart from that: yes if the desktop file is specified, the icon is > preferred over the custom icon. But in this specifi

Re: Aw: Re: setWindowIcon for QDialog

2019-03-07 Thread Martin Flöser
Am 2019-03-06 23:13, schrieb Friedrich W. H. Kossebau: Hi, allow me to chime in with my AFAIK, which though is confirmed by my quick look at the code: Am Dienstag, 5. März 2019, 18:21:00 CET schrieb Martin Flöser: Hi Alexander, according to the xprop output the _NET_WM_ICON property is not

Re: Aw: Re: setWindowIcon for QDialog

2019-03-06 Thread Friedrich W. H. Kossebau
Hi, allow me to chime in with my AFAIK, which though is confirmed by my quick look at the code: Am Dienstag, 5. März 2019, 18:21:00 CET schrieb Martin Flöser: > Hi Alexander, > > according to the xprop output the _NET_WM_ICON property is not set. The > method inside Qt responsible for this is:

Re: Aw: Re: setWindowIcon for QDialog

2019-03-06 Thread Alexander Semke
HI Martin, >[...] > My suggestion is to try whether any other icon works. And if it does so, > ensure that all relevant icon sizes are available for the > labplot-worksheet. "labplot-worksheet" was just an example, not a good one maybe. I used this icon name just to show how we set the dialog ic

Re: Aw: Re: setWindowIcon for QDialog

2019-03-05 Thread Martin Flöser
Hi Alexander, according to the xprop output the _NET_WM_ICON property is not set. The method inside Qt responsible for this is: https://code.woboq.org/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp.html#_ZN10QXcbWindow13setWindowIconERK5QIcon This method is called indirectly from QWidget

Aw: Re: setWindowIcon for QDialog

2019-03-04 Thread Alexander Semke
not shown in the window bar, left to the window title. Please check the attached screenshots. On windows the proper icon is shown, on linux/kwin the applicaion icon is used.   It's X. The output of xprop: _NET_WM_ICON_NAME(UTF8_STRING) = _KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.labplot