Re: [GNC] Saving window position (and size)

2022-07-13 Thread David Carlson
I did a little research on this because GnuCash 4.8 in Lubuntu 22.04 with
Lxqt desktop in VirtualBox doesn't have that window placement problem.   It
seems that one of the barriers to greater overall acceptance of Wayland is
the fact that some older applications have code that is incompatible with
some aspects of Wayland. Thus there is a motivation to review GnuCash code
for compatibility sometime in the future.

Unfortunately,  I don't have appropriate skills to help,  so I can only ask
politely for developers to consider making it a future goal.

On Wed, Jul 13, 2022, 9:35 AM Tracy  wrote:

> Good morning John,
>
> I get what you are saying, and I agree that tracking down the exact problem
> would be a huge undertaking. However, in this case, I can't just point the
> finger at GnuCash - there are other apps that were doing the same thing
> (one example being LibreOffice Calc). However, there were other apps
> (notably Pidgin, Firefox, and Thunderbird) that were working correctly.
> Which, of course, further supports your theory that it is a buried problem
> that would take an inordinate amount of time to dig out, between the
> various levels of interactions. Which is why I said I doubted that I would
> get any traction on a bug report - I just don't have the time (or the
> skills) to dig through all the layers to find the underlying problem.
>
> But as it happens, I am fine with using X11 (I prefer it, I was just giving
> Wayland a trial since they made it default), so I also don't really have
> the motivation to dig either.
>
>
> On Tue, Jul 12, 2022, 23:46 john  wrote:
>
> > Setting aside the tone of Adrien's comments, I think that filing a bug
> > report against the Wayland project would be seriously misplaced. They're
> > just publishing a spec and a model implementaiton.  The actual
> > implementation for Gnome is https://gitlab.gnome.org/GNOME/mutter. KDE
> > has a different compositor called Plasma. Compositors take bitmaps for
> > different logical areas of the screen and blend them together to
> determine
> > what color dot goes at what coordinate, then passes the result to the
> > hardware. Mutter handles both Wayland and X11 protocols for sending the
> > bitmaps and it's possible but unlikely that it's the source of the
> problem.
> >
> > It's far more likely that the problem is in Gtk's gdk-wayland backend.
> Gdk
> > is the layer that converts the Window abstraction into drawing
> instructions
> > that it passes to cairo to execute; it's what decides that an x-by-y
> window
> > will be represented by what set of colored dots at some position on the
> > screen. So in theory that would be the right place to aim your bug
> report.
> > In theory.
> >
> > In practice, if you file a bug with Gtk saying "GnuCash remembers where
> to
> > put my window on X11 but not on Wayland" they won't know what to do with
> > it, so unless you're able to reduce it to a simple example they're not
> > going to be able to figure out what's wrong with their code--if anything
> is.
> >
> > There's another problem, and it's that GnuCash's Gtk code is still warmed
> > over Gtk2 code with the absolute minimum done to keep it working in Gtk3.
> > There's tons of deprecated code that we haven't made time to update,
> partly
> > for lack of time and partly because we support older distributions. It's
> > entirely possible, likely even, that the reason that the window doesn't
> get
> > put in the right place on Wayland is that GnuCash is calling a deprecated
> > function that's implemented for X11 but not for Wayland. In a perfect
> world
> > you should file a bug with GnuCash and let us devs figure out where the
> > problem is and whether to push it upstream. Unfortunately there are at
> > present only two core devs who know GUI coding enough to do that, Bob
> > Fewell and me. I can't really speak for Bob but I have far too big a pile
> > of higher priority work to put in the several hours of debugging that
> > problem. It won't do any harm to file that bug but I can't offer much
> hope
> > that it will get acted upon.
> >
> > Regards,
> > John Ralls
> >
> >
> > > On Jul 12, 2022, at 7:25 PM, Adrien Monteleone <
> > adrien.montele...@lusfiber.net> wrote:
> > >
> > > RATS. I hate it when I proof a post but don't stop to think before
> > hitting 'send.'
> > >
> > > My apologies to the GnuCash team, the moderator, and any readers of
> this
> > thread.
> > >
> > > While I stand behind my comments, this is not the forum for such a
> > discussion. My sentiments aren't about 'using GnuCash' and don't advance
> > the original question posted. (though I do think a Wayland-related bug
> > report is in order, if it doesn't exist.)
> > >
> > > I'll strive to pause and reflect more before posting replies rather
> than
> > just proofreading.
> > >
> > > Tracy, I'm glad you found the cause and have a work around. Thanks to
> > Martin for providing a path for investigation, and thank you again Tracy
> > for reporting back your findings. 

Re: [GNC] Saving window position (and size)

2022-07-13 Thread Tracy
Good morning John,

I get what you are saying, and I agree that tracking down the exact problem
would be a huge undertaking. However, in this case, I can't just point the
finger at GnuCash - there are other apps that were doing the same thing
(one example being LibreOffice Calc). However, there were other apps
(notably Pidgin, Firefox, and Thunderbird) that were working correctly.
Which, of course, further supports your theory that it is a buried problem
that would take an inordinate amount of time to dig out, between the
various levels of interactions. Which is why I said I doubted that I would
get any traction on a bug report - I just don't have the time (or the
skills) to dig through all the layers to find the underlying problem.

But as it happens, I am fine with using X11 (I prefer it, I was just giving
Wayland a trial since they made it default), so I also don't really have
the motivation to dig either.


On Tue, Jul 12, 2022, 23:46 john  wrote:

> Setting aside the tone of Adrien's comments, I think that filing a bug
> report against the Wayland project would be seriously misplaced. They're
> just publishing a spec and a model implementaiton.  The actual
> implementation for Gnome is https://gitlab.gnome.org/GNOME/mutter. KDE
> has a different compositor called Plasma. Compositors take bitmaps for
> different logical areas of the screen and blend them together to determine
> what color dot goes at what coordinate, then passes the result to the
> hardware. Mutter handles both Wayland and X11 protocols for sending the
> bitmaps and it's possible but unlikely that it's the source of the problem.
>
> It's far more likely that the problem is in Gtk's gdk-wayland backend. Gdk
> is the layer that converts the Window abstraction into drawing instructions
> that it passes to cairo to execute; it's what decides that an x-by-y window
> will be represented by what set of colored dots at some position on the
> screen. So in theory that would be the right place to aim your bug report.
> In theory.
>
> In practice, if you file a bug with Gtk saying "GnuCash remembers where to
> put my window on X11 but not on Wayland" they won't know what to do with
> it, so unless you're able to reduce it to a simple example they're not
> going to be able to figure out what's wrong with their code--if anything is.
>
> There's another problem, and it's that GnuCash's Gtk code is still warmed
> over Gtk2 code with the absolute minimum done to keep it working in Gtk3.
> There's tons of deprecated code that we haven't made time to update, partly
> for lack of time and partly because we support older distributions. It's
> entirely possible, likely even, that the reason that the window doesn't get
> put in the right place on Wayland is that GnuCash is calling a deprecated
> function that's implemented for X11 but not for Wayland. In a perfect world
> you should file a bug with GnuCash and let us devs figure out where the
> problem is and whether to push it upstream. Unfortunately there are at
> present only two core devs who know GUI coding enough to do that, Bob
> Fewell and me. I can't really speak for Bob but I have far too big a pile
> of higher priority work to put in the several hours of debugging that
> problem. It won't do any harm to file that bug but I can't offer much hope
> that it will get acted upon.
>
> Regards,
> John Ralls
>
>
> > On Jul 12, 2022, at 7:25 PM, Adrien Monteleone <
> adrien.montele...@lusfiber.net> wrote:
> >
> > RATS. I hate it when I proof a post but don't stop to think before
> hitting 'send.'
> >
> > My apologies to the GnuCash team, the moderator, and any readers of this
> thread.
> >
> > While I stand behind my comments, this is not the forum for such a
> discussion. My sentiments aren't about 'using GnuCash' and don't advance
> the original question posted. (though I do think a Wayland-related bug
> report is in order, if it doesn't exist.)
> >
> > I'll strive to pause and reflect more before posting replies rather than
> just proofreading.
> >
> > Tracy, I'm glad you found the cause and have a work around. Thanks to
> Martin for providing a path for investigation, and thank you again Tracy
> for reporting back your findings. These posts are what this User list is
> all about.
> >
> > Regards,
> > Adrien
> >
> > On 7/12/22 9:14 PM, Adrien Monteleone wrote:
> >> For the simple reason they'll be annoyed and try to ignore the bug
> report, I'd file it. You never know who else has the same problem with
> various apps. Heck, I'd bet the bug is already filed, maybe even closed as
> 'won't fix'. That's even better. File another and make them spend their
> time marking it as a duplicate and closing it. (when their time could be
> better spent by FIXING *their* bug.)
> >> Normally, I'd never suggest such action, but these folks bring it on
> themselves with their dismissive and haughty attitudes, and you're doing
> nothing wrong reporting or reviving an obvious bug that is indeed, their
> fault. (why 

Re: [GNC] Saving window position (and size)

2022-07-12 Thread john
Setting aside the tone of Adrien's comments, I think that filing a bug report 
against the Wayland project would be seriously misplaced. They're just 
publishing a spec and a model implementaiton.  The actual implementation for 
Gnome is https://gitlab.gnome.org/GNOME/mutter. KDE has a different compositor 
called Plasma. Compositors take bitmaps for different logical areas of the 
screen and blend them together to determine what color dot goes at what 
coordinate, then passes the result to the hardware. Mutter handles both Wayland 
and X11 protocols for sending the bitmaps and it's possible but unlikely that 
it's the source of the problem. 

It's far more likely that the problem is in Gtk's gdk-wayland backend. Gdk is 
the layer that converts the Window abstraction into drawing instructions that 
it passes to cairo to execute; it's what decides that an x-by-y window will be 
represented by what set of colored dots at some position on the screen. So in 
theory that would be the right place to aim your bug report. In theory.

In practice, if you file a bug with Gtk saying "GnuCash remembers where to put 
my window on X11 but not on Wayland" they won't know what to do with it, so 
unless you're able to reduce it to a simple example they're not going to be 
able to figure out what's wrong with their code--if anything is.

There's another problem, and it's that GnuCash's Gtk code is still warmed over 
Gtk2 code with the absolute minimum done to keep it working in Gtk3. There's 
tons of deprecated code that we haven't made time to update, partly for lack of 
time and partly because we support older distributions. It's entirely possible, 
likely even, that the reason that the window doesn't get put in the right place 
on Wayland is that GnuCash is calling a deprecated function that's implemented 
for X11 but not for Wayland. In a perfect world you should file a bug with 
GnuCash and let us devs figure out where the problem is and whether to push it 
upstream. Unfortunately there are at present only two core devs who know GUI 
coding enough to do that, Bob Fewell and me. I can't really speak for Bob but I 
have far too big a pile of higher priority work to put in the several hours of 
debugging that problem. It won't do any harm to file that bug but I can't offer 
much hope that it will get acted upon.

Regards,
John Ralls


> On Jul 12, 2022, at 7:25 PM, Adrien Monteleone 
>  wrote:
> 
> RATS. I hate it when I proof a post but don't stop to think before hitting 
> 'send.'
> 
> My apologies to the GnuCash team, the moderator, and any readers of this 
> thread.
> 
> While I stand behind my comments, this is not the forum for such a 
> discussion. My sentiments aren't about 'using GnuCash' and don't advance the 
> original question posted. (though I do think a Wayland-related bug report is 
> in order, if it doesn't exist.)
> 
> I'll strive to pause and reflect more before posting replies rather than just 
> proofreading.
> 
> Tracy, I'm glad you found the cause and have a work around. Thanks to Martin 
> for providing a path for investigation, and thank you again Tracy for 
> reporting back your findings. These posts are what this User list is all 
> about.
> 
> Regards,
> Adrien
> 
> On 7/12/22 9:14 PM, Adrien Monteleone wrote:
>> For the simple reason they'll be annoyed and try to ignore the bug report, 
>> I'd file it. You never know who else has the same problem with various apps. 
>> Heck, I'd bet the bug is already filed, maybe even closed as 'won't fix'. 
>> That's even better. File another and make them spend their time marking it 
>> as a duplicate and closing it. (when their time could be better spent by 
>> FIXING *their* bug.)
>> Normally, I'd never suggest such action, but these folks bring it on 
>> themselves with their dismissive and haughty attitudes, and you're doing 
>> nothing wrong reporting or reviving an obvious bug that is indeed, their 
>> fault. (why introduce Wayland as 'ready' when it isn't? If it works, why 
>> doesn't it work?)
>> I'm sure I'll get admonished for the above, but really the admonishment 
>> belongs on sour attitudes. Such are not conducive to the Open Source model, 
>> community, and users providing much needed feedback.
>> ** Special Note **
>> GnuCash devs are *not* like this. They'll (at their discretion of course) 
>> spend an inordinate amount of their personal, volunteer time helping users 
>> fix something, even if they've helped 10k people before you apply the same 
>> fix. These folks are golden and have more patience than the rest of the 
>> known universe. I have the utmost respect and appreciation for the GnuCash 
>> dev team.
> 
>> 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@gnucash.org
> To update your subscription preferences or to unsubscribe:
> 

Re: [GNC] Saving window position (and size)

2022-07-12 Thread Adrien Monteleone
RATS. I hate it when I proof a post but don't stop to think before 
hitting 'send.'


My apologies to the GnuCash team, the moderator, and any readers of this 
thread.


While I stand behind my comments, this is not the forum for such a 
discussion. My sentiments aren't about 'using GnuCash' and don't advance 
the original question posted. (though I do think a Wayland-related bug 
report is in order, if it doesn't exist.)


I'll strive to pause and reflect more before posting replies rather than 
just proofreading.


Tracy, I'm glad you found the cause and have a work around. Thanks to 
Martin for providing a path for investigation, and thank you again Tracy 
for reporting back your findings. These posts are what this User list is 
all about.


Regards,
Adrien

On 7/12/22 9:14 PM, Adrien Monteleone wrote:
For the simple reason they'll be annoyed and try to ignore the bug 
report, I'd file it. You never know who else has the same problem with 
various apps. Heck, I'd bet the bug is already filed, maybe even closed 
as 'won't fix'. That's even better. File another and make them spend 
their time marking it as a duplicate and closing it. (when their time 
could be better spent by FIXING *their* bug.)


Normally, I'd never suggest such action, but these folks bring it on 
themselves with their dismissive and haughty attitudes, and you're doing 
nothing wrong reporting or reviving an obvious bug that is indeed, their 
fault. (why introduce Wayland as 'ready' when it isn't? If it works, why 
doesn't it work?)


I'm sure I'll get admonished for the above, but really the admonishment 
belongs on sour attitudes. Such are not conducive to the Open Source 
model, community, and users providing much needed feedback.


** Special Note **

GnuCash devs are *not* like this. They'll (at their discretion of 
course) spend an inordinate amount of their personal, volunteer time 
helping users fix something, even if they've helped 10k people before 
you apply the same fix. These folks are golden and have more patience 
than the rest of the known universe. I have the utmost respect and 
appreciation for the GnuCash dev team.



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@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.


Re: [GNC] Saving window position (and size)

2022-07-12 Thread Adrien Monteleone
For the simple reason they'll be annoyed and try to ignore the bug 
report, I'd file it. You never know who else has the same problem with 
various apps. Heck, I'd bet the bug is already filed, maybe even closed 
as 'won't fix'. That's even better. File another and make them spend 
their time marking it as a duplicate and closing it. (when their time 
could be better spent by FIXING *their* bug.)


Normally, I'd never suggest such action, but these folks bring it on 
themselves with their dismissive and haughty attitudes, and you're doing 
nothing wrong reporting or reviving an obvious bug that is indeed, their 
fault. (why introduce Wayland as 'ready' when it isn't? If it works, why 
doesn't it work?)


I'm sure I'll get admonished for the above, but really the admonishment 
belongs on sour attitudes. Such are not conducive to the Open Source 
model, community, and users providing much needed feedback.


** Special Note **

GnuCash devs are *not* like this. They'll (at their discretion of 
course) spend an inordinate amount of their personal, volunteer time 
helping users fix something, even if they've helped 10k people before 
you apply the same fix. These folks are golden and have more patience 
than the rest of the known universe. I have the utmost respect and 
appreciation for the GnuCash dev team.


Regards,
Adrien

On 7/12/22 4:40 PM, Tracy wrote:

Well, it is definitely a Wayland vs X11 issue. When I switched from Wayland
to X11, the problem just magically went away.

If I thought I stood a chance of being listened to there, I would file a
bug report against Wayland - but I suspect it wouldn't get much
traction.

Anyway, thanks, all, for the pointers, and especially to Martin for jogging
my memory about the Wayland vs X11 change in Ubuntu 22.04.



___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Saving window position (and size)

2022-07-12 Thread Tracy
> > > > > 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
>> > > > > 
>> > > > > 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 
>> > > > > > 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
>> > > > > > > >
>> > > > > > > > gmccol...@live.com<mailto:gmccol...@gyleshomes.com>
>> > > > > > > > email
>> > > > > > > >
>> > > > > > > > 
>> > > > > > > > From: gnucash-user
>> > > > > > > > > > > > > >
>> > > > > > > on behalf of Tracy 
>> > > > > > > > Se

Re: [GNC] Saving window position (and size)

2022-07-12 Thread Tracy
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 
> > > > > > 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
> > > > > > > >
> > > > > > > > gmccol...@live.com<mailto:gmccol...@gyleshomes.com>
> > > > > > > > email
> > > > > > > >
> > > > > > > > 
> > > > > > > > From: gnucash-user
> > > > > > > >  > > > > >
> > > > > > > on behalf of Tracy 
> > > > > > > > Sent: Monday, July 11, 2022 7:10 PM
> > > > > > > > To: gnucash-user@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

Re: [GNC] Saving window position (and size)

2022-07-12 Thread Martin Booth via gnucash-user
> > > > 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
> > > > > > > 
> > > > > > > gmccol...@live.com<mailto:gmccol...@gyleshomes.com>
> > > > > > > email
> > > > > > > 
> > > > > > > 
> > > > > > > From: gnucash-user
> > > > > > >  > > > > 
> > > > > > on behalf of Tracy 
> > > > > > > Sent: Monday, July 11, 2022 7:10 PM
> > > > > > > To: gnucash-user@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
> > > >

Re: [GNC] Saving window position (and size)

2022-07-12 Thread kschneider bout-tyme . net
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  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  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  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
>>>> 
>>>> 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  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
>>>>>> "

Re: [GNC] Saving window position (and size)

2022-07-12 Thread David Carlson
If Gnome is still using Tweaks, it might be buried in there, although I did
not see a specific setting in Ubuntu 20.04

On Tue, Jul 12, 2022 at 12:21 PM Tracy  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  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  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
> > > > 
> > > > 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  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

Re: [GNC] Saving window position (and size)

2022-07-12 Thread Tracy
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  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  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
> > > 
> > > 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  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.
> > > 

Re: [GNC] Saving window position (and size)

2022-07-12 Thread Martin Booth via gnucash-user
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  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
> > 
> > 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  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
> > > > > 
> > > > > gmccol...@live.com<mailto:gmccol...@gyleshomes.com>  
> > > > > email
> > > > > 
> > > > > 
> > > > > From: gnucash-user
> > > > >  > > 
> > > > on behalf of Tracy 
> > > > > Sent: Monday, July 11, 2022 7:10 PM
> > > > > To: gnucash-user@gnucash.org 
> > > > > Subject: [GNC] Saving window position (and size)
> > > > > 
> > > > > Ubuntu 22.04
> > > > > Gnucash 4.8
> > > > > 
> > > > > In the Edit > Settings dialog, 

Re: [GNC] Saving window position (and size)

2022-07-12 Thread David Carlson
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  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 
> 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  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
> >> >
> >> > gmccol...@live.com<mailto:gmccol...@gyleshomes.com>   email
> >> >
> >> > 
> >> > From: gnucash-user  >
> >> on behalf of Tracy 
> >> > Sent: Monday, July 11, 2022 7:10 PM
> >> > To: gnucash-user@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
> >> 

Re: [GNC] Saving window position (and size)

2022-07-12 Thread Tracy
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 
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  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
>> >
>> > gmccol...@live.com<mailto:gmccol...@gyleshomes.com>   email
>> >
>> > 
>> > From: gnucash-user 
>> on behalf of Tracy 
>> > Sent: Monday, July 11, 2022 7:10 PM
>> > To: gnucash-user@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.> > 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...)
>> >
&

Re: [GNC] Saving window position (and size)

2022-07-11 Thread David Carlson
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  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
> >
> > gmccol...@live.com<mailto:gmccol...@gyleshomes.com>   email
> >
> > ____________
> > From: gnucash-user 
> on behalf of Tracy 
> > Sent: Monday, July 11, 2022 7:10 PM
> > To: gnucash-user@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. > 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@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@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@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.


Re: [GNC] Saving window position (and size)

2022-07-11 Thread Tracy

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

gmccol...@live.com<mailto:gmccol...@gyleshomes.com>   email


From: gnucash-user  on behalf of 
Tracy 
Sent: Monday, July 11, 2022 7:10 PM
To: gnucash-user@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. 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@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@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.


Re: [GNC] Saving window position (and size)

2022-07-11 Thread Gyle McCollam
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

gmccol...@live.com<mailto:gmccol...@gyleshomes.com>   email


From: gnucash-user  on 
behalf of Tracy 
Sent: Monday, July 11, 2022 7:10 PM
To: gnucash-user@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. 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@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@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.


[GNC] Saving window position (and size)

2022-07-11 Thread Tracy

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.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@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.