Closed GoogleCodeExporter closed 9 years ago
Window decorations are a total mess sometimes, according to this post
http://blog.martin-graesslin.com/blog/2010/05/open-letter-the-issues-with-client
-side-window-decorations/
However, here KDE applications seem to work fine so the problem must be in
Window decoration flags. Those are set with setWindowFlags in the following
files:
qesteidutil/trunk/src/mainwindow.cpp
qdigidoc/trunk/client/MainWindow.cpp
qdigidoc/trunk/crypto/MainWindow.cpp
So the problem must be there somewhere. It's quite a testing challenge to find
a combination that will work equally well on light window managers, KDE, Gnome,
MacOSX and Windows.
Some help on this is very much appriciated ;)
Original comment by ant...@gmail.com
on 16 Oct 2010 at 2:02
Sander reports that Mandriva LXDE seems to work fine.
Original comment by ant...@gmail.com
on 16 Oct 2010 at 2:15
Attachments:
I need to add that the Window flags MUST disable resizing of the windows
because UI is not designed to be resized so the user must not be able to change
the window size.
Not from resize handles nor with the Maximize button.
Original comment by ant...@gmail.com
on 16 Oct 2010 at 2:27
More information about Window flags
http://doc.qt.nokia.com/4.6/widgets-windowflags.html
Original comment by ant...@gmail.com
on 16 Oct 2010 at 4:01
Ubuntu 10.10 with IceWM seems to work well.
Original comment by Sander.L...@gmail.com
on 16 Oct 2010 at 4:19
Attachments:
qesteidutil/src/mainwindow.cpp
At least Debian 5 (lenny) requires QT:WindowTitleHint too
----
setWindowFlags( Qt::Window | Qt::CustomizeWindowHint |
Qt::WindowMinimizeButtonHint | Qt::WindowTitleHint )
----
Original comment by kaabuta@gmail.com
on 16 Oct 2010 at 4:37
Created a patch to apply the fix.
Verified that it works (does not affect anything else) on Fedora 13 with GNOME.
Can someone please verify if it works for:
* KDE
* Windows
* Mac
Original comment by ant...@gmail.com
on 17 Oct 2010 at 6:42
Attachments:
[deleted comment]
Created another patch to fix qdigidoc.
Please verify.
Original comment by ant...@gmail.com
on 17 Oct 2010 at 6:51
Attachments:
Window decorations now OK under Debian Lenny after applying titlehint patches.
Tested with IceWM/LXDE/OpenBox and KDE.
Original comment by kaabuta@gmail.com
on 17 Oct 2010 at 7:39
Attachments:
"Fixed in svn r3465 and r3466"
Original comment by kaabuta@gmail.com
on 19 Oct 2010 at 4:51
Original issue reported on code.google.com by
kaabuta@gmail.com
on 16 Oct 2010 at 12:39Attachments: