New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace doesn't keep the layout #420

Closed
tiagogala opened this Issue Dec 15, 2016 · 12 comments

Comments

Projects
None yet
5 participants
@tiagogala

tiagogala commented Dec 15, 2016

The workspace doesn't save the layout when i do "maximize window".
When I maximize the window, the leftmost column becomes too big - It might be more useful to keep the leftmost column always the same size (because there is no advantage on making it bigger when maximizing) and scale the width of the edit + preview columns/panels.
See the screenshots:

  1. Normal size
    b

  2. Maximized
    a

@pbek

This comment has been minimized.

Owner

pbek commented Dec 15, 2016

Thank you for your suggestion, but since everyone can use any layout he / she wants and it's extremely hard to override anything the layout manager does when changing the size of the main window the best solution will be you create an other workspace, that you could use when you maximize the window.

@pbek pbek closed this Dec 15, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Dec 15, 2016

When I find a better solution, I'll let you know...

@Aisbergg

This comment has been minimized.

Aisbergg commented Jan 30, 2017

There is an easy workaround for this problem. While the default left column awkwardly stretches the panels, a custom created column will do the job just fine. Simply move all your panels form the left column to a new column directly next to it. Once done you have the same layout as before, but without the annoying resizing behaviour.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 30, 2017

I wonder what the new columns does differently...

@pbek

This comment has been minimized.

Owner

pbek commented Mar 20, 2018

The only programmatic approach to this that I found was to make one area the "central area" of the QMainWindow, what would get resized if the windows is resized. But beside the tricky programming to allowing that as an option that area couldn't be moved around as usual...

@pbek

This comment has been minimized.

Owner

pbek commented Mar 20, 2018

...or to create a menu with all panels and checkboxes to allow to lock the horizontal size down manually, but that also would be unhandy in daily use because then you cannot resize those columns manually while onle panel in that column is size-locked

@pbek

This comment has been minimized.

Owner

pbek commented Apr 4, 2018

18.04.1

  • there now is a new checkbox in the Panels settings to use the note edit
    panel as fixed central widget to be resized if the window or other
    panels are resized (for #420)
    • for new installations of QOwnNotes this will be enabled by default
    • for running sessions of QOwnNotes this will be disabled by default
    • if this is disabled you are able to create more complex panel layouts,
      but all panels will be resized if the window is resized

@pbek pbek added this to the 18.04.1 milestone Apr 4, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Apr 4, 2018

@vegatron, @vanleo2001, @msbentley, @schittli, @tiagogala, @Aisbergg

There now is a new release, could you please test it and report if it works for you?

@msbentley

This comment has been minimized.

msbentley commented Apr 5, 2018

Thanks @pbek that works great - I reset my settings to get rid of the "hack" described above, and now it works perfectly!

@pbek

This comment has been minimized.

Owner

pbek commented Apr 5, 2018

Great, thank you for testing! It took quite a while to get that working! 😅

@vanleo2001

This comment has been minimized.

vanleo2001 commented Apr 5, 2018

Thanks @pbek that works, but "Tags Panel" change to right side, it's ugly.

@pbek

This comment has been minimized.

Owner

pbek commented Apr 5, 2018

@vanleo2001 I guess you didn't do a new installation, right?
There are no fixed layouts, I guess it was in your right panel. All panels are movable (that's what they are for).
Why don't you just move it to a place you like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment