Sun 03 Sep 2017 03:18:31 PM UTC, comment #10:
The window is available via "Alt+Tab". The KDE window manager clearly knows about it, but is simply refusing to decorate it. Probably, because the type is "Qt Dock Widget".
In another interesting turn of events, the name of the window as listed in the Alt+Tab menu is "&Variable Editor". There is another bug report about that, but clearly this is related. Top-Level Menu Titles shouldn't include shortcut codes is my guess.
|
Sat 02 Sep 2017 01:54:40 PM UTC, comment #9:
I think you are right, KDE prevents a "Qt Dock Widget" from being decorated. Is an undocked widget (at least) separately available via "Alt-Tab"?
|
Sat 02 Sep 2017 12:39:28 PM UTC, comment #8:
Alas, the patch didn't work. I added a debug statement just to make sure I was executing the code, and it is being run.
I went even further and added Qt::WindowMinimizeButtonHint, but it didn't help.
I wonder if it is the KDE Window Manager that is refusing to decorate the undocked window? I found this webpage: https://techbase.kde.org/Projects/KWin/Window_Decoration_Policy.
Maybe the window type remains _NET_WM_WINDOW_TYPE_DOCK even after it is detached?
|
Sat 02 Sep 2017 10:50:06 AM UTC, comment #7:
In contrast to windows or other desktop environments, Philip's screenshot doesn't show any window decorations at all, especially no title bar. Could you please try the following simple patch on a KDE system?
(file #41716)
|
Sat 02 Sep 2017 07:43:52 AM UTC, comment #6:
Besides KDE, are there any other desktop environments known, which are affected?
|
Fri 01 Sep 2017 07:40:03 PM UTC, comment #5:
Still the same on Linux. Interestingly, it seems to work on Windows.
When the undock operation is executed, isn't there a function call or switch to say that this is a top-level widget that should have window decorations?
|
Wed 22 Apr 2015 04:56:41 AM UTC, comment #4:
Confirmed. I notice this as well on Kubuntu 12.04 with an undocked editor.
|
Thu 02 Apr 2015 12:13:01 PM UTC, comment #3:
I mis-spoke, - it is firing for the topLevelChanged
|
Wed 01 Apr 2015 09:05:21 PM UTC, comment #2:
A quick look online, and it looks like normally the QToolWdget doesn't have a minimize button but can be faked up by setting the window flags to Qt::Window and Qt::Widget depending on whether it is floating or not.
That is being done in octave-dock-widget class, when the topLevelChanged is emitted, but it doesn't appear to be getting it.
|
Wed 01 Apr 2015 08:37:28 PM UTC, comment #1:
It is on all undocked panes in fedora
|
Wed 01 Apr 2015 07:52:12 PM UTC, original submission:
See attached pic of Octave on my Mageia-4 KDE desktop with undocked editor pane.
Unlike on e.g., Windows, I see no minimize button, just the Close and Dock buttons.
I haven't checked but AFAIR this goes for all undocked panes.
|