You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Main window cannot be as small (in height) as expected #2513
I'm an occasional long term sqlitebrowser user (since 2009). The minimum height that I can resize the main window is too big. I would like it to be possible to resize it smaller.
I think that the current size might cause problems in small resolutions (as it wouldn't fit all in one screen).
Additional info
Does this feature exist in another product or project? Please provide a link.
In older versions of sqlitebrowser (e.g. the packaged in Debian Buster: 3.10.1.). I remember that years ago it was possible as well.
Besides PR #2514: the Main Window cannot be resized as small as I wanted.
I've seen a ticket with Main Window UI bigger changes. I might have a look if I can make widgets resizeable in height smaller unless this is already in your pipeline or bigger changes might happen in this area.
One more thing: using View -> Window Layout -> Simplify Window Layout makes it possible to resize as much as I want. I can't see how to make sqlitebrowser start with the simplified window layout: this would work well enough for me as well.
Is there any way to change the default window layout?
Thank you very much - and I forgot to say earlier thanks for this fantastic software!
If you close DB4S, isn't the layout saved? I've set the simplified layout, closed DB4S, and this simplified layout appears again when I restart. If I 'reset' the layout, close DB4S and restart it, the layout is as it should be (reset).
What version of DB4S are you using?
We looked at this issue in a previous version in #1684, but it seems that the latest changes to the Remote dock have increased again the minimum size. I haven't tested the PR #2514, but if the scrollbar is added to a group of widgets instead of to a table list or similar, I think there should be a better solution in those terms (#1684) than adding a scrollbar. Note also that the layout can be adjusted in many ways, and it should be saved, like removing the Remote tab or rearranging it to overlap the other docked tabs. In that case the minimal height of both docks (top and bottom) do not add up:
If you close DB4S, isn't the layout saved? I've set the simplified layout, closed DB4S, and this simplified layout appears again when I restart. If I 'reset' the layout, close DB4S and restart it, the layout is as it should be (reset).
What version of DB4S are you using?
I've just deleted ~/.config/sqlitebrowser and tried again: no luck, I do the View -> Window Layout -> Simplify Window layout: it's simplified. Close and run again: it's the no-simplified layout.
Which version are you using? I can try a quick "git bisect" if the saving layout used to work at some point.
We looked at this issue in a previous version in #1684, but it seems that the latest changes to the Remote dock have increased again the minimum size. I haven't tested the PR #2514, but if the scrollbar is added to a group of widgets instead of to a table list or similar, I think there should be a better solution in those terms (#1684) than adding a scrollbar. Note also that the layout can be adjusted in many ways, and it should be saved, like removing the Remote tab or rearranging it to overlap the other docked tabs. In that case the minimal height of both docks (top and bottom) do not add up:
I've added two screenshots:
The Current Database has many widgets that are not resizeable (and I don't think that they should) smaller than this (QToolBar, QTextEdit, etc.):
So the QScrollArea seems an "easy" solution. Another one would be maybe to have User, Database and Branch all in one line? but I didn't want to change the layout that much.
BTW, if the Simplified Layout would be saved I wouldn't (personally) worry too much about the minimum size of the "Current Database". I would have it almost all the time in Simplified Layout for the operations that I do. Thanks!
I've created a PR to solve the problem that the "Simplify Window Layout" was not saved: #2536
Now people who prefer a simplified window layout with a smaller application height can change and leave it (without the PR it might have not been saved). I'll close this issue.
Activity
cpina commentedon Dec 21, 2020
PR: #2514
cpina commentedon Dec 21, 2020
Besides PR #2514: the Main Window cannot be resized as small as I wanted.
I've seen a ticket with Main Window UI bigger changes. I might have a look if I can make widgets resizeable in height smaller unless this is already in your pipeline or bigger changes might happen in this area.
cpina commentedon Dec 21, 2020
One more thing: using View -> Window Layout -> Simplify Window Layout makes it possible to resize as much as I want. I can't see how to make sqlitebrowser start with the simplified window layout: this would work well enough for me as well.
Is there any way to change the default window layout?
Thank you very much - and I forgot to say earlier thanks for this fantastic software!
chrisjlocke commentedon Dec 21, 2020
If you close DB4S, isn't the layout saved? I've set the simplified layout, closed DB4S, and this simplified layout appears again when I restart. If I 'reset' the layout, close DB4S and restart it, the layout is as it should be (reset).
What version of DB4S are you using?
mgrojo commentedon Dec 21, 2020
We looked at this issue in a previous version in #1684, but it seems that the latest changes to the Remote dock have increased again the minimum size. I haven't tested the PR #2514, but if the scrollbar is added to a group of widgets instead of to a table list or similar, I think there should be a better solution in those terms (#1684) than adding a scrollbar. Note also that the layout can be adjusted in many ways, and it should be saved, like removing the Remote tab or rearranging it to overlap the other docked tabs. In that case the minimal height of both docks (top and bottom) do not add up:
cpina commentedon Dec 21, 2020
I'm using a compiled version from master: dafa873
I've just deleted ~/.config/sqlitebrowser and tried again: no luck, I do the View -> Window Layout -> Simplify Window layout: it's simplified. Close and run again: it's the no-simplified layout.
Which version are you using? I can try a quick "git bisect" if the saving layout used to work at some point.
Thanks!
cpina commentedon Dec 21, 2020
I've added two screenshots:
The Current Database has many widgets that are not resizeable (and I don't think that they should) smaller than this (QToolBar, QTextEdit, etc.):
So the QScrollArea seems an "easy" solution. Another one would be maybe to have User, Database and Branch all in one line? but I didn't want to change the layout that much.
cpina commentedon Dec 21, 2020
BTW, if the Simplified Layout would be saved I wouldn't (personally) worry too much about the minimum size of the "Current Database". I would have it almost all the time in Simplified Layout for the operations that I do. Thanks!
chrisjlocke commentedon Dec 21, 2020
One of the nightlies from 9 Nov.
cpina commentedon Dec 21, 2020
And one more question: which operating system? (I'm testing it on Linux)
chrisjlocke commentedon Dec 21, 2020
Windows.
cpina commentedon Jan 11, 2021
The main window size is smaller (PR #2514)
I've created a PR to solve the problem that the "Simplify Window Layout" was not saved: #2536
Now people who prefer a simplified window layout with a smaller application height can change and leave it (without the PR it might have not been saved). I'll close this issue.
Thanks for all the information here.