View Issue Details

IDProjectCategoryView StatusLast Update
0002377MMW v4Main Panel/Toolbars/Menuspublic2006-11-03 23:00
Reporterpeke Assigned To 
PriorityurgentSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.5 
Summary0002377: Maximize and Windows Positions are not saved on MM Close.
DescriptionOn 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;
TagsNo tags attached.
Fixed in build

Relationships

related to 0002506 closedpeke MM doesn't work well on >1 monitor 

Activities

peke

2006-02-18 22:05

developer   ~0006908

Reminder sent to: jiri

rusty

2006-07-13 04:12

administrator   ~0007480

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.

peke

2006-07-16 18:17

developer   ~0007513

You corectly Got The Bug.
It is more annoying than need to fix now.

rusty

2006-07-17 12:22

administrator   ~0007520

ok--leaving as 'high'

jiri

2006-07-17 13:24

administrator   ~0007522

Peke, please check it out yourself, it's about code in FormPlus.pas.

peke

2006-11-01 23:28

developer   ~0008128

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.

jiri

2006-11-02 10:32

administrator   ~0008129

Do you mean the bug is resolved? If so, please set it to Resolved state. Also, I don't see any related SVN Commit...

peke

2006-11-02 20:51

developer   ~0008133

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.

peke

2006-11-03 23:00

developer   ~0008138

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.