Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Smile

Finally someone who sees the problem Smile 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WhenEnter in GridCtrl not fired
Next Topic: Found solution. On arrayctrl, you have addcolumn, but what about deleting a column
Goto Forum:
  


Current Time: Tue Jun 03 06:50:56 CEST 2025

Total time taken to generate the page: 0.02461 seconds