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 #30591 is a reply to message #30566] |
Mon, 10 January 2011 22:48   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
dolik.rce wrote on Sat, 08 January 2011 15:25 | Hi,
Some of the recent changes to maximize/minimize handling and/or SerializePlacement() causes that theide is no longer started in maximized state. The problem is, that now it doesn't restore correctly the state after restart, i.e. if I close maximized ide, it opens in normal state next time.
The logs from serialization say (only ide serialization related logs shown here for clarity):// Backup serialization before loading new data from file
TopWindow::SerializePlacement / write
minimized = false, maximized = true
rect = [0, 0] - [0, 0] : (0, 0), overlapped = [0, 0] - [0, 0] : (0, 0)
// LoadFromFile(ide); (ide/idewin.cpp:1003)
TopWindow::SerializePlacement / read
minimized = false, maximized = true
rect = [0, 15] - [1024, 600] : (1024, 585), overlapped = [0, 0] - [0, 0] : (0, 0)
// StoreToFile(ide); (ide/idewin.cpp:1031)
TopWindow::SerializePlacement / write
minimized = false, maximized = false
rect = [8, 32] - [1016, 592] : (1008, 560), overlapped = [0, 0] - [0, 0] : (0, 0)
// StoreToFile(ide); (ide/idewin.cpp:1036)
TopWindow::SerializePlacement / write
minimized = false, maximized = false
rect = [8, 32] - [1016, 592] : (1008, 560), overlapped = [0, 0] - [0, 0] : (0, 0)
As you can see, the StoreToFile() is called twice and between the calls the ide.state changes its value.
|
I do not see that...
Mirek
|
|
|
Goto Forum:
Current Time: Fri Jun 06 08:45:10 CEST 2025
Total time taken to generate the page: 0.04685 seconds
|