[ icewm-Bugs-2872527 ] toggle fullscreen and back causes window size changes

View: New views
1 Messages — Rating Filter:   Alert me  

[ icewm-Bugs-2872527 ] toggle fullscreen and back causes window size changes

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2872527, was opened at 2009-10-04 18:54
Message generated for change (Comment added) made by vnaum
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2872527&group_id=31

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mikhail Ramendik (mikhram)
Assigned to: Nobody/Anonymous (nobody)
Summary: toggle fullscreen and back causes window size changes

Initial Comment:
In certain applications including konquror 0.8.x (qt3), gwenview (qt4), and totem (gtk2), if the application is toggled into full screen and then back, the window size is changed in an apparently random fashion.

This was tested under Debian in two versions of icewm, 1.2.29pre1 and 1.3.4pre2 (Debian builds of both).

----------------------------------------------------------------------

Comment By: Vladislav Naumov (vnaum)
Date: 2009-10-09 21:40

Message:
When those apps go fullscreen, they turn off some widgets, thus
decreasing minimum window size. And it seems like icewm can't properly
handle this change for fullscreen windows, so after switching back it
uses "bad" hints.

Working patch attached to debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549896#8

It saves size hints before going fullscreen and restores them back after
leaving fullscreen. I don't know if this is a proper way to handle
this (just spotted this trick in lwm), but it seems to be working fine for
me.

Apply in `src` directory.
Done for icewm 1.2.37-1, applies to icewm_1.2.37+1.3.4pre2-4.

----------------------------------------------------------------------

Comment By: Alexander Galanin (agalanin)
Date: 2009-10-04 19:03

Message:
If window flags changed using wmctrl -i -r $win -b add,fullscreen && wmctrl
-i -r $win -b remove,fullscreen this bug does not appear. Also if window
state changed using hot-key KeyWinFullscreen this bug does not apper too.

Seems that request from application "make my window fullscreen" are
incorrectly interpreted by icewm.

----------------------------------------------------------------------

Comment By: Mikhail Ramendik (mikhram)
Date: 2009-10-04 18:54

Message:
sorry, instead of "konquror" please read kaffeine 0.8.x

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2872527&group_id=31

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Icewm-devel mailing list
Icewm-devel@...
https://lists.sourceforge.net/lists/listinfo/icewm-devel