[GNC] No Maximise button on 3.3 in Ubuntu 18.10

Colin Law clanlaw at gmail.com
Sun Oct 14 08:53:52 EDT 2018


I have posted a bug on this so that it does not get forgotten
https://bugs.gnucash.org/show_bug.cgi?id=796911

Colin

On Sat, 13 Oct 2018 at 23:12, Jim Passmore <jim at passmore4.com> wrote:

> I can confirm similar behavior as Colin, running Ubuntu 18.04.1, Gnome
> 3.28.2 with a 1920x1080 monitor resolution.  My GnuCash is 3.3+, compiled a
> few days ago.  Before this I was just running the 2.6.19 from the
> distribution.
>
> I noticed that when I used the super-right arrow shortcut to snap to the
> right side of the screen, nothing happens (similar with left shortcut).  I
> had 3 tabs open--Accounts, and 2 others.  Also, dragging to the right
> screen edge normally snaps the window and sets width to 50%, but not with
> GnuCash.  Other apps behave as expected.
>
> I've got a Gnome extension, Put Windows that uses a different keyboard
> shortcut, and should set window width to be 50% 66%, then 34% with
> consecutive snap-right commands.  it works for 50% and 66%, but not 34%.
> (Other apps work at all 3 widths.)
>
> If I close the account tabs, and leave just the account list open, all
> behavior is correct--dragging to a screen edge snaps to 50%, super-right
> snaps to 50%, and the extra extension adjusts the window to 50, 66, and
> even 34%.  Experimenting with different open accounts indeed changes
> allowed window widths.
>
> (With 2.6.19, the regular Gnome shortcuts worked, but I didn't try the
> extension until today, trying to investigate the problem.)
>
> --
>
> *Jim Passmore*
>
>
>
> On Sat, Oct 13, 2018 at 10:51 AM Adrien Monteleone <
> adrien.monteleone at lusfiber.net> wrote:
>
> > Out of curiosity, is the parent type of that errant account different
> from
> > the others? Does opening another account of that type have the same
> effect?
> >
> > Regards,
> > Adrien
> >
> > > On Oct 13, 2018, at 9:01 AM, Colin Law <clanlaw at gmail.com> wrote:
> > >
> > > On Sat, 13 Oct 2018 at 14:31, David Carlson <
> david.carlson.417 at gmail.com>
> > wrote:
> > > Colin,
> > >
> > > Does the entire window width depend on on the current width of columns
> > other than the description column?
> > >
> > > Not as far as I can see.  Changing the column width can make the scroll
> > bars come and go but does not change the minimum width.  Also the min
> width
> > does not depend on which account currently has the focus, but which
> > accounts are open (ie have tabs visible).  I am doing these tests with
> the
> > tabs along the top so it is not the account name length pushing up the
> > width at the side.  Also it is not the number of accounts open that
> changes
> > the width but which particular ones.  There is one particular account
> that
> > pushes the width up about 50 pixels but I can't see anything special
> about
> > it.
> > >
> > > Colin
> > >
> > >
> > > David C
> > >
> > > On Sat, Oct 13, 2018, 8:17 AM Colin Law <clanlaw at gmail.com> wrote:
> > > Yet more information.  I don't think the basic behaviour has changed
> > since
> > > 2.6.19, the difference is that the minimum window width is now up to
> > about
> > > 350 pixels wider than it was on 2.6.19.  So on 2.6.19 with a particular
> > set
> > > of accounts open this is about 1000 pixels which fitted on the screen
> ok
> > > and so could be maximised, with 3.3 it is about 1350, which is wider
> than
> > > the available width.
> > >
> > > Colin
> > >
> > > On Sat, 13 Oct 2018 at 12:05, Colin Law <clanlaw at gmail.com> wrote:
> > >
> > > > Right, I have made some progress on this.
> > > > 1. At any time gnucash seems to maintain a minimum window width below
> > > > which it will not let the window be shrunk.
> > > > 2. If that width is greater than the available display width then the
> > > > window cannot be maximised, which is reasonable.
> > > >
> > > > The problem is that the min window width is not a fixed value, but
> > seems
> > > > to vary with which accounts are open.  If I close all tabs except the
> > > > Accounts tab and shrink the window down and then open an account the
> > window
> > > > width increases to the minimum allowed for that account. If I repeat
> > that
> > > > exercise for different accounts it is clear that different accounts
> > have
> > > > different minimum widths.  The net result is that if I have certain
> > > > accounts open then I cannot maximise the window, but if those
> accounts
> > are
> > > > not open then I can.
> > > >
> > > > I have so far failed to find any pattern relating the minimum width
> > for an
> > > > account to the details of that account.
> > > >
> > > > My feeling at the moment is that there is a bug (or at least
> > non-optimum
> > > > feature) in the code that determines the minimum width.  If it is not
> > a bug
> > > > then I would be grateful if someone can explain what is going on.
> > > >
> > > > Colin
> > > >
> > > > On Fri, 12 Oct 2018 at 16:42, Colin Law <clanlaw at gmail.com> wrote:
> > > >
> > > >> On Fri, 12 Oct 2018 at 16:36, Adrien Monteleone
> > > >> <adrien.monteleone at lusfiber.net> wrote:
> > > >> >
> > > >> > Colin,
> > > >> >
> > > >> > Can you manually resize GC as if you used the maximize button? How
> > does
> > > >> the window behave? (scrollbars?)
> > > >>
> > > >> I can resize it except that I cannot shrink the width down
> > > >> sufficiently small that it will fit in the available space when
> > > >> maximised.  Unlike with 2.19, scroll bars do not appear below the
> > > >> register when an attempt is made to shrink the window further, it
> just
> > > >> won't allow further shrinking.
> > > >>
> > > >> Colin
> > > >>
> > > >> >
> > > >> > Regards,
> > > >> > Adrien
> > > >> >
> > > >> > > On Oct 12, 2018, at 10:15 AM, Colin Law <clanlaw at gmail.com>
> > wrote:
> > > >> > >
> > > >> > > I am using standard Ubuntu not Xubuntu, so there are normally
> the
> > > >> > > usual Close, Minimise and Maximise buttons in the window title
> > bar.
> > > >> > > The maximise is a white square.
> > > >> > >
> > > >> > > I was not entirely accurate in my last post.  I have the Ubuntu
> > Dock
> > > >> > > bar down the left hand side and not auto hidden which reduces
> the
> > > >> > > available window width slightly.  If I put the dock at the
> bottom
> > of
> > > >> > > the screen then it is possible to see the whole gnucash window
> > width
> > > >> > > and the maximise is available again.  I guess something is
> > noticing
> > > >> > > that there is not room for the minimum window width when
> > maximised so
> > > >> > > it won't let it maximise.  It is a 1280 width screen so the
> > minimum
> > > >> > > window width that gnucash will let me shrink the window to, with
> > the
> > > >> > > tabs at the side, is about 1200 pixels.
> > > >> > >
> > > >> > > Colin
> > > >> > > On Fri, 12 Oct 2018 at 16:00, Roger Miskowicz <
> rmisko11 at gmail.com
> > >
> > > >> wrote:
> > > >> > >>
> > > >> > >> I tried what I think you said in 18.04 and 3.35 can not shrink
> to
> > > >> where there is a horizontal scroll bar.  The Maximize '+' button is
> > there
> > > >> regardless whether the tabs are at the top or right side.
> > > >> > >>
> > > >> > >> Just to ensure we're talking about the same button.  In Xubuntu
> > > >> 18.04 I don't have the Maximize button as displayed by Alt-Touch
> > instead at
> > > >> the top right I just have '-+x' which seems to be what I have in all
> > my
> > > >> applications.  The '+' toggles maximize or not maximize.
> > > >> > >>
> > > >> > >> On Fri, Oct 12, 2018 at 10:38 AM Colin Law <clanlaw at gmail.com>
> > > >> wrote:
> > > >> > >>>
> > > >> > >>> Sorry, I should have said that all other apps I have tried
> > operate
> > > >> as expected.
> > > >> > >>>
> > > >> > >>> Alt-Space does not show Maximise.  It does show Unmaximise but
> > it
> > > >> is greyed out.
> > > >> > >>>
> > > >> > >>> However I have had a Eureka moment.  There seems to be a
> change
> > with
> > > >> > >>> 3.3 to do with window width. On 2.9 the window (when not
> > maximised)
> > > >> > >>> could be shrunk down so that the right hand fields of the
> > register
> > > >> > >>> were not visible, and a scroll bar then appeared at the bottom
> > of
> > > >> the
> > > >> > >>> register.  With 3.3 it appears this is not possible, the
> window
> > can
> > > >> > >>> not be shrunk to the point where a scroll bar appears.  I have
> > my
> > > >> tabs
> > > >> > >>> shown down the right hand side and the result is that the
> > smallest
> > > >> > >>> window size is slightly larger than the size of my screen.  In
> > that
> > > >> > >>> state it is not possible to maximise the window.  If I place
> the
> > > >> tabs
> > > >> > >>> at the top then it is possible to maximise.  I can then place
> > them
> > > >> at
> > > >> > >>> the side again and it stays maximised but if I close and
> re-open
> > > >> > >>> gnucash then it unmaximises again.
> > > >> > >>>
> > > >> > >>> This may also have been an issue happened when I built 3.3
> from
> > > >> source
> > > >> > >>> on Ubuntu 18.04 to test it, I don't know. I may just not have
> > > >> noticed
> > > >> > >>> it then.
> > > >> > >>>
> > > >> > >>> Colin
> > > >> > >>> On Fri, 12 Oct 2018 at 14:59, Robert Heller <
> > heller at deepsoft.com>
> > > >> wrote:
> > > >> > >>>>
> > > >> > >>>> At Fri, 12 Oct 2018 14:39:11 +0100 Colin Law <
> > clanlaw at gmail.com>
> > > >> wrote:
> > > >> > >>>>
> > > >> > >>>>>
> > > >> > >>>>> Running Gnucash 3.3 in Ubuntu 18.10 Beta from the Ubuntu
> > > >> repository
> > > >> > >>>>> there is no maximise button, and the window will not
> maximise
> > by
> > > >> the
> > > >> > >>>>> usual shortcut methods.  Has anyone else seen anything
> > similar?
> > > >> > >>>>> Should I file a bug under the Ubuntu system or gnucash?
> > > >> > >>>>
> > > >> > >>>> Window [size] management (maximize,minimize,resize, etc.) is
> a
> > > >> function of the
> > > >> > >>>> window manager (duh). Can you maximise any other application
> > > >> windows under
> > > >> > >>>> Ubuntu 18.10 Beta?
> > > >> > >>>>
> > > >> > >>>> It *might* be an issue with the GUI toolkit gnucash is using
> or
> > > >> *possibly* a
> > > >> > >>>> gnucash bug in how gnucash is using that GUI toolkit.
> > > >> > >>>>
> > > >> > >>>>
> > > >> > >>>>>
> > > >> > >>>>> Colin
> > > >> > >>>>> _______________________________________________
> > > >> > >>>>> 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.
> > > >> > >>>>>
> > > >> > >>>>>
> > > >> > >>>>
> > > >> > >>>> --
> > > >> > >>>> Robert Heller             -- 978-544-6933
> > > >> > >>>> Deepwoods Software        -- Custom Software Services
> > > >> > >>>> http://www.deepsoft.com/  -- Linux Administration Services
> > > >> > >>>> heller at deepsoft.com       -- Webhosting Services
> > > >> > >>>>
> > > >> > >>> _______________________________________________
> > > >> > >>> 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.
> > > >> > >
> > > >> >
> > > >> >
> > > >> > _______________________________________________
> > > >> > 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.
> >
> >
> > _______________________________________________
> > 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