[GNC] Saving window position (and size)

kschneider bout-tyme.net kschneider at bout-tyme.net
Tue Jul 12 13:50:35 EDT 2022


Another option is to create a new user and see if the behavior affects the new user.

Ken Schneider 

> On Jul 12, 2022, at 1:22 PM, Tracy <gnulist at vbot.org> wrote:
> 
> Well, I haven't gotten very far in digging, but the fact that other people
> are not having the problem makes it that much more likely that it is my
> machine. If it wasn't such a pain to set everything back up afterwards, I
> would just wipe the system and install fresh.
> 
> Meanwhile, I will keep looking and see if I can figure out which setting(s)
> are causing the problem. If I figure it out, I will report back.
> 
>> On Tue, Jul 12, 2022, 13:12 Martin Booth <mdj.booth at yahoo.co.uk> wrote:
>> 
>> Hi David,
>> No issues for me.
>> I am running GS 4.11 on Ubuntu 22.04 and the windows stay in the same
>> place where I left them when I last closed GS
>> Regards,
>> Martin
>> 
>> 
>>> On Tue, 2022-07-12 at 09:48 -0500, David Carlson wrote:
>>> Tracy,
>>> 
>>> I would not like a desktop that did not remember where a window was
>>> located
>>> on the desktop/display combination when last used.  Any other users
>>> seeing
>>> similar issues?
>>> 
>>>> On Tue, Jul 12, 2022 at 7:32 AM Tracy <gnulist at vbot.org> wrote:
>>> 
>>>> Hi David,
>>>> 
>>>> Everything I can find says that Gnome (the desktop environment set
>>>> up by
>>>> default in Ubuntu 22.04 - which was also the desktop environment
>>>> used in
>>>> 20.04, which worked as expected) does not save window placement
>>>> information. Instead, it is the responsibility of the application.
>>>> Gnome
>>>> will attempt to place applications according to a scheme if the
>>>> application
>>>> does not specify a starting position, but the application gets
>>>> first call
>>>> on that (at least according to what I see - I am not an expert on
>>>> this).
>>>> 
>>>> I am starting to wonder, though, if something in Gnome hasn't
>>>> changed (or
>>>> maybe a setting got clobbered during the upgrade), because another
>>>> application has started showing the same problem (LibreOffice Calc
>>>> is now
>>>> doing the same thing GnuCash does - it opens correctly sized, but
>>>> not
>>>> correctly positioned). So I am going to try to research that aspect
>>>> and see
>>>> if there is a setting in Gnome that may be overriding the
>>>> application's
>>>> requested startup positioning.
>>>> 
>>>> On Tue, Jul 12, 2022, 01:26 David Carlson
>>>> <david.carlson.417 at gmail.com>
>>>> wrote:
>>>> 
>>>>> Wouldn't the position on the desktop be a desktop setting?  How
>>>>> do other
>>>>> program windows position themselves when opened?  In my test
>>>>> system of
>>>>> Lubuntu 22.04 GnuCash opened the first time in the center of the
>>>>> desktop
>>>>> and thereafter in the same place it was when I closed it, just as
>>>>> Libre
>>>>> Office , web browsers, games and other programs do.
>>>>> 
>>>>> On Mon, Jul 11, 2022 at 9:46 PM Tracy <gnulist at vbot.org> wrote:
>>>>> 
>>>>>> Gyle,
>>>>>> 
>>>>>> Thanks for the response. The desktop icons and such work a
>>>>>> little
>>>>>> differently under Ubuntu than under Windows. But even so, if I
>>>>>> go
>>>>>> directly to the exectuable and launch the application from
>>>>>> there, I get
>>>>>> the same result.
>>>>>> 
>>>>>> And thank you for correcting my mistake there - it is indeed
>>>>>> Preferences, not Settings - and the heading immediately over
>>>>>> the Save
>>>>>> Window Size And Position is Window Geometry.
>>>>>> 
>>>>>> 
>>>>>> On 7/11/22 20:13, Gyle McCollam wrote:
>>>>>>> Tracy,
>>>>>>> I'm on 4.11 on Windows 11 so I may have different options.
>>>>>>> Mine is
>>>>>> under Edit/Preferences/Windows/Window Geometry and has a check
>>>>>> box for
>>>>>> "save window size and position".  It works fine.  However, if
>>>>>> the icon
>>>> to
>>>>>> start Gnucash has the properties set for anything other than
>>>>>> "Normal
>>>>>> Window", they override the setting in Gnucash.  If it is set to
>>>>>> "Normal
>>>>>> Window" then Gnucash works the way you would like.  So my
>>>>>> suggestion is
>>>> to
>>>>>> check how your Gnucash Icon is set.  Hope that helps.
>>>>>>> 
>>>>>>> 
>>>>>>> Thank You,
>>>>>>> 
>>>>>>> Gyle McCollam
>>>>>>> 
>>>>>>> Gyle McCollam
>>>>>>> 
>>>>>>> gmccollam at live.com<mailto:gmccollam at gyleshomes.com>
>>>>>>> email
>>>>>>> 
>>>>>>> ________________________________
>>>>>>> From: gnucash-user
>>>>>>> <gnucash-user-bounces+gylemc=gmail.com at gnucash.org
>>>>> 
>>>>>> on behalf of Tracy <gnulist at vbot.org>
>>>>>>> Sent: Monday, July 11, 2022 7:10 PM
>>>>>>> To: gnucash-user at gnucash.org <gnucash-user at gnucash.org>
>>>>>>> Subject: [GNC] Saving window position (and size)
>>>>>>> 
>>>>>>> Ubuntu 22.04
>>>>>>> Gnucash 4.8
>>>>>>> 
>>>>>>> In the Edit > Settings dialog, under "Window" there is an
>>>>>>> option to
>>>> save
>>>>>>> the current window size and position. However, this does not
>>>>>>> appear to
>>>>>>> be working fully - when I position GnuCash on the screen,
>>>>>>> then close
>>>> it,
>>>>>>> then reopen it, it opens with the correct size, but not in
>>>>>>> the correct
>>>>>>> position - instead of where I left it, it opens with the
>>>>>>> upper left
>>>>>>> corner of the GnuCash window positioned at the upper left
>>>>>>> corner of
>>>> the
>>>>>>> desktop (instead of having the GnuCash window positioned 2/3
>>>>>>> of the
>>>> way
>>>>>>> to the right on the desktop, as it was when I closed it).
>>>>>>> 
>>>>>>> I have looked into the Wiki and found that the window
>>>>>>> position and
>>>> size
>>>>>>> is stored in:
>>>>>>> 
>>>>>>> $HOME/.local/share/gnucash/books/GnuTest.gnucash.gcm
>>>>>>> 
>>>>>>> Closing GnuCash and editing this file (specifically changing
>>>>>>> the
>>>>>>> WindowPosition property in the [Window 1] section) does not
>>>>>>> change the
>>>>>>> startup position of the GnuCash window.
>>>>>>> 
>>>>>>> Is there another place I should be looking for this, or am I
>>>> completely
>>>>>>> confused and there is another setting in the Settings window
>>>>>>> that I
>>>>>>> should be looking at, or....?
>>>>>>> 
>>>>>>> Note that this was an upgrade from Ubuntu 20.04 and GnuCash
>>>>>>> 3.<I don't
>>>>>>> remember the point version> so it is possible that there are
>>>>>>> files or
>>>>>>> settings that were left behind by the upgrade process that
>>>>>>> are
>>>>>>> interfering (if so, and someone can point me to a resource
>>>>>>> for
>>>> cleaning
>>>>>>> up those settings, I would be happy to poke at it...)
>>>>>>> 
>>>>>>> Thanks in advance for any information or assistance on this.
>>>>>>> _______________________________________________
>>>>>>> gnucash-user mailing list
>>>>>>> gnucash-user at gnucash.org
>>>>>>> To update your subscription preferences or to unsubscribe:
>>>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>>>> If you are using Nabble or Gmane, please see
>>>>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more
>>>>>> information.
>>>>>>> -----
>>>>>>> Please remember to CC this list on all your replies.
>>>>>>> You can do this by using Reply-To-List or Reply-All.
>>>>>>> 
>>>>>> _______________________________________________
>>>>>> gnucash-user mailing list
>>>>>> gnucash-user at gnucash.org
>>>>>> To update your subscription preferences or to unsubscribe:
>>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>>> If you are using Nabble or Gmane, please see
>>>>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more
>>>>>> information.
>>>>>> -----
>>>>>> Please remember to CC this list on all your replies.
>>>>>> You can do this by using Reply-To-List or Reply-All.
>>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> David Carlson
>>>>> 
>>>> _______________________________________________
>>>> gnucash-user mailing list
>>>> gnucash-user at gnucash.org
>>>> To update your subscription preferences or to unsubscribe:
>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>> If you are using Nabble or Gmane, please see
>>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>>> -----
>>>> Please remember to CC this list on all your replies.
>>>> You can do this by using Reply-To-List or Reply-All.
>>>> 
>>> 
>>> 
>> 
>> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.


More information about the gnucash-user mailing list