tixsys / esteid

Automatically exported from code.google.com/p/esteid
2 stars 0 forks source link

Window decorations missing with IceWM #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Choose "lighter" windowmanager (IceWM / LXDE / Openbox)
2. Start qesteidutil or qdigidoccrypto / qdigidocclient

No window decorations (entire window bar with minimize/close buttons).
With KDE3.5 apps and qtconfig window decorations exist.

Under KDE everything is normal. 

OS: Debian Lenny

Original issue reported on code.google.com by kaabuta@gmail.com on 16 Oct 2010 at 12:39

Attachments:

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
Sander reports that Mandriva LXDE seems to work fine.

Original comment by ant...@gmail.com on 16 Oct 2010 at 2:15

Attachments:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Ubuntu 10.10 with IceWM seems to work well.

Original comment by Sander.L...@gmail.com on 16 Oct 2010 at 4:19

Attachments:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Created another patch to fix qdigidoc.
Please verify.

Original comment by ant...@gmail.com on 17 Oct 2010 at 6:51

Attachments:

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
"Fixed in svn r3465 and r3466"

Original comment by kaabuta@gmail.com on 19 Oct 2010 at 4:51