#649132 gnucash changed the "Tip Of The Day" window position

Package:
gnucash
Source:
gnucash
Description:
personal and small-business financial-accounting software
Submitter:
Vincent Lefevre
Date:
2013-09-08 14:03:04 UTC
Severity:
minor
#649132#5
Date:
2011-11-17 23:19:46 UTC
From:
To:
This problem has been mentioned in bug #643679, but I'm opening a new
bug since there are two different problems:

1. Bug #643679 is that GnuCash asks the user to choose a window position
   for the "Tip Of The Day" window (when this feature is enabled via the
   WM, e.g. with fvwm's ManualPlacement option), but doesn't take this
   position into account, which is a contradictory behavior.

2. This bug is that GnuCash changed the "Tip Of The Day" window position
   in my back, and worse, the window is now partly off-screen.

xvii:~> gconftool -g /apps/gnucash/dialogs/tip_of_the_day/window_position
[469,-37]

I don't know the cause of this bug (which also occurred in the past as
mentioned in bug #643679[*]). I haven't done anything special, AFAIK,
except the GConf upgrade from 2.32.4-1 to 3.2.3-1.

[*] I don't remember the exact window position when this bug occurred,
but it was about the same, at least for the Y value.

#649132#10
Date:
2011-11-22 23:38:26 UTC
From:
To:
I can also see that each time I start GnuCash (and quit it
immediately), the window position changes. I got successively:

[441,-177]
[437,-197]
[433,-217]
[429,-237]

i.e. each time (-4,-20) is subtracted from the coordinates.

#649132#15
Date:
2013-09-08 09:28:26 UTC
From:
To:
Le mercredi 23 novembre 2011 à 00:38 +0100, Vincent Lefevre a écrit :

With GnuCash 1:2.4.13-1, I am unable to reproduce this problem. Note
that I activated the option "Save window size and position" in the
"Windows" tab of the preferences window. For me GnuCash correctly
remembers the chosen position, and the GConf key does not change across
runs.

Do you have activated that option? Are you still able to reproduce the
problem with gnucash 1:2.4.13-1? May it be possible that the problem is
related to FVWM (i.e. do you also experience it within a GNOME session)?

Thanks,

#649132#22
Date:
2013-09-08 13:35:45 UTC
From:
To:
Control: found -1 1:2.4.13-1
Control: tags -1 - moreinfo

Yes, and it is partly taken into account since the window is "almost"
at the correct position each time I run GnuCash. I say "almost",
because there is a shift at each run:

xvii:~> gconftool -g /apps/gnucash/dialogs/tip_of_the_day/window_position
[828,64]
xvii:~> gconftool -g /apps/gnucash/dialogs/tip_of_the_day/window_position
[824,44]
xvii:~> gconftool -g /apps/gnucash/dialogs/tip_of_the_day/window_position
[820,24]

Yes.
problem, except that the shift is smaller:

[820,24]
[818,22]
[816,20]

I've tried with GNOME and the problem doesn't appear with it, but
GNOME doesn't support (at least by default) active placement (manual
placement), which seems to be the cause of the problem, but only
with the "Tip Of The Day" window (no such problem with the main
GnuCash window).

#649132#31
Date:
2013-09-08 14:00:31 UTC
From:
To:
and no such problem with other windows like the "Price Editor"
and the Preferences windows. This problem seems to be specific
to the "Tip Of The Day" window.