Home » U++ Library support » U++ Widgets - General questions or Mixed problems » [BUG] TheIDE doesn't restore window state correctly on Linux
| Re: [BUG] TheIDE doesn't restore window state correctly on Linux [message #30595 is a reply to message #30594] |
Tue, 11 January 2011 11:44   |
|
|
| unodgs wrote on Tue, 11 January 2011 10:06 | In my desktop (gnome, sometimes kde) upp also doesn't restore maximized state properly. Window is almost maximized - that means it occupies the whole screen with padding 5 pixels and still can be maximized. Strange 
|
Finally someone who sees the problem The padding comes from TopwWindow::SerializePlacement(): Rect limit = GetWorkArea();
// ...
#ifdef PLATFORM_X11
Rect fm = windowFrameMargin; //<this returns empty Rect...
if((fm.left|fm.right|fm.top|fm.bottom) == 0)
fm = Rect(8, 32, 8, 8); // ... so this is chosen as safe values
limit.left += fm.left;
limit.right -= fm.right;
limit.top += fm.top;
limit.bottom -= fm.bottom;
#endif
But now I am even more puzzled, since you are using different desktop environments than me. So what else could cause that Mirek doesn't see the problem? The version of X? I am using pretty new one:| Xorg -version |
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.9.3.901 (1.9.4 RC 1)
Release Date: 2011-01-07
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.36-ARCH i686
Current Operating System: Linux mrnous 2.6.37-ARCH #1 SMP PREEMPT Fri Jan 7 17:10:05 UTC 2011 i686
Kernel command line: root=/dev/disk/by-uuid/3d6a2cf7-1a7f-45f8-a6cb-ce2d9e12a03c resume=/dev/sda4 ro
Build Date: 08 January 2011 11:27:31PM
Current version of pixman: 0.20.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
|
Honza
|
|
|
|
Goto Forum:
Current Time: Tue Jul 21 19:14:27 GMT+2 2026
Total time taken to generate the page: 0.00761 seconds
|