[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More than one program no longer keeps window dimensions.


More than one of my programs are not saving/restoring window positions
properly any more.
(seems to be GTK+ only)

in the attached program i have tracked it down to the Form_Hide event
triggering at least 3 times when i load the program in Tray mode. (argument
-t)

The form should Show, Then quickly Hide to tray. it did this okay but has
broken very recently due to a change. (as have other programs)

Even when starting normally if i hide the window the Form_Hide event runs
twice but the values remain the same.

when i use the -t arg to make it hide to tray on program start the
Form_Hide event of FMain triggers 3 times and on the third time the Height
and Width are only 1

i have Settings.Save(Me) in Form_Hide() ,
the third event that fires and has .H and .W as 1 then gets saved
(corrupted)

I have a few programs suffering similar bugs now.

Respects
BruceS

Attachment: GambasProcWatch-2.0.3.tar.gz
Description: application/gzip


Follow-Ups:
Re: More than one program no longer keeps window dimensions.Bruce Steers <bsteers4@xxxxxxxxx>
Re: More than one program no longer keeps window dimensions.Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>