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 #30618 is a reply to message #30607] Wed, 12 January 2011 21:00 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

mirek wrote on Tue, 11 January 2011 23:41

Well, it looks like X11 tries to reposition windows on its own on create, that is what is causing the mess.

I have tried to fix this by ignoring first set of ConfigureNotify (while waiting for FocusIn), then placing the new position to the window. Ugly hack for ugly system....

Please check!


Thanks Mirek,
I can confirm that it now works as expected. I just still wonder why the desktop environment sends such event... Thinking of it now, theide is not the only program that makes problem, evince (PDF viewer) usually starts shifted about half width to the left, off-screen. I suppose this is because xfce tries to position the windows to minimize overlaps (something like primitive tiling). It seems like not really well thought idea if it disrupts otherwise well written programs Confused

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: Sun Jun 08 17:13:49 CEST 2025

Total time taken to generate the page: 0.04615 seconds