[GNC] Locking the side bar items

Stan Brown the_stan_brown at fastmail.fm
Tue Apr 11 15:04:36 EDT 2023


I read the OP's question a little differently. I think the OP wants some
way to tell GnuCash, "When I click the "Close" button, I don't want the
currently open tab to close." In other words, I don't think it's about
what happens when GC reopens, it's about having GC ignore a button click
that the user didn't mean to make.

I can sympathize: It took me a while to learn that the Close button
doesn't close the program, as I would have expected, and even now every
once in a  while I close a tab when I wanted to close the program.
(Close buttons on a tab should close that tab; a close button not on a
tab should close the program -- or so it seems to me.)

But that's how GC works, and we just have to learn it. I didn't post an
answer earlier because I don't think there's any way to change this
behavior.

One thing that might help the OP, at least in Windows, is never to sue
the Close button but instead close a tab (when desired) with Ctrl+W and
close the program (if desired) with Alt+F4.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com

On 2023-04-11 11:49, Adrien Monteleone wrote:
> I've never seen a case where the open tabs *don't* re-open when I next
> open the file.
> 
> That's already a feature.
> 
> Maybe there is a reason it isn't working properly on your system.
> 
> Regards,
> Adrien
> 
> On 4/11/23 5:30 AM, G R Hewitt wrote:
>> Greetings all,
>>
>> I was just wondering if there was anyway to prevent (lock) opened
>> tabs from being closed.
>>
>> I have all the things I use - P&L, BS etc., on the right, and just
>> can't seem to break the habit of clicking 'Close' to close the
>> program, which closes the open tab instead.>
>>
>> If not, could this be added as a feature at some point?


More information about the gnucash-user mailing list