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   |
|
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
Honza
|
|
|
Goto Forum:
Current Time: Sun Jun 08 17:13:49 CEST 2025
Total time taken to generate the page: 0.04615 seconds
|