View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002377 | MMW v4 | Main Panel/Toolbars/Menus | public | 2006-02-18 22:03 | 2006-11-03 23:00 |
Reporter | peke | Assigned To | |||
Priority | urgent | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.5 | ||||
Summary | 0002377: Maximize and Windows Positions are not saved on MM Close. | ||||
Description | On MM Close. Mediamonkey Saves only LEFT, TOP, WIDTH, HEIGHT but Not Actual windows state. This is most Common Problem in Most applications and can be easily solved by doing this. On Event OnMaximize(); Begin Save Windows POSITIONS; Set Maximized := TRUE; End; On Event RestoreWindowFromMaximize(); Begin Read Windows POSITIONS; Set Maximized := FALSE; End; On Event MMCLose(); Begin If Not Maximized Then Begin Save Windows POSITIONS; Set Maximized := FALSE; End; End; On Event MMShow(); Begin Read Maximized If Maximized Then Begin Set Form Show Maximized Set Maximized := TRUE; End Else Begin Read Windows POSITIONS; Set Maximized := FALSE; End; End; | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||
|
Reminder sent to: jiri |
|
Peke, can you clarify what the bug is? If I maximize MM, then close it and restart, it's maximized. If I set it to a reduced size, then close it and restart, it restarts in the reduced size in the same position that I left it in. The only issue that I notice is that if I maximize MM, and close it and restart, it restarts maximized, but if I then click the button to reduce it to a window, the reduced window size is the size of the full screen. Assuming that's the bug you're referring to, we can probably defer this. |
|
You corectly Got The Bug. It is more annoying than need to fix now. |
|
ok--leaving as 'high' |
|
Peke, please check it out yourself, it's about code in FormPlus.pas. |
|
Completely rewritten WriteFormData and ReadFormData, because those two functions didn't act same in Skinned and non-skinned version, added additional OnMaximize handler which now tracks and writes WindowStates and Pos. |
|
Do you mean the bug is resolved? If so, please set it to Resolved state. Also, I don't see any related SVN Commit... |
|
Due to delicate matter and due to changes directly in FormsPlus.pas I have not updated SVN yet to avoid any possible problems regarding not fully tested code. |
|
SVN Updated Revision 1759. Changed Handling of FormData in Both Skinned and Non-Skinned MM because till now Mm handled FormData Data Corectly only in Non-Skinned Version. |