bauh icon indicating copy to clipboard operation
bauh copied to clipboard

Windows resizing issues.

Open SinisterBrain opened this issue 6 years ago • 20 comments

Posted to the Manjaro forums. https://forum.manjaro.org/t/bauh-formerly-known-as-fpakman-a-gui-for-flatpak-and-snap-management/96180/105?u=sinister

It's very resize happy. When you select or deselect updates or Apps or whatever. It's constantly resizing itself which bothers me. I resized it to a size I wanted but selecting any of those makes it shrink to a tiny little window (Monitor is 2560x1440).

Perhaps it should respect the users resize?

Also, this might be harder to guess but I think the default size is quite small. Especially for the info it's presenting. Perhaps some a bit wider?

Thank you for your work and patience. :)

SinisterBrain avatar Sep 20 '19 19:09 SinisterBrain

@SinisterBrain, it's a good suggestion. I will see if I can add this behavior for the next releases soon.

vinifmor avatar Sep 22 '19 03:09 vinifmor

I have issues too, the right arrow is not clickable so I can't reach the button

image

v1rtl avatar Jan 27 '20 14:01 v1rtl

@talentlessguy, what's your distro, python version and pyqt5 version ?

vinifmor avatar Jan 28 '20 15:01 vinifmor

@vinifmor

Python 3.8.1
python-pyqt5 5.14.1-1
bauh 0.8.1

v1rtl avatar Jan 28 '20 16:01 v1rtl

@talentlessguy , same here... This is arrow is just a Qt indicator saying "there is something hidden". But it was supposed to always displays all buttons. I will try to reproduce and fix here. While is not fixed, try to resize the whole panel to the right or maximize it. Thank you for your report.

vinifmor avatar Jan 28 '20 18:01 vinifmor

@talentlessguy , I've just published a possible fix on bauh-staging (0.8.2.-RC-2). Could you give me a feedback if it fixes your issues ?

vinifmor avatar Jan 30 '20 20:01 vinifmor

@vinifmor same thing

image

bauh: 0.8.2

v1rtl avatar Jan 31 '20 13:01 v1rtl

@talentlessguy , could you add a full picture of bauh with this issue ? I can have a view of what component can be messing up the layout.

vinifmor avatar Jan 31 '20 13:01 vinifmor

it is strange this issue still happens on your installation. I added a rule that doesn't allow toolbar buttons to be hidden: resize

Did you restart bauh after installing 0.8.2.RC-2 ?

vinifmor avatar Jan 31 '20 15:01 vinifmor

@vinifmor oh that was my tiling script minimizing the window. Now it works fine tbf would be better that there was a scrollbar instead of preventing a window to become smaller

v1rtl avatar Jan 31 '20 17:01 v1rtl

@talentlessguy, there will be a UI redesign for the future feature releases. For now I'm fixing bugs. Good to hear that you problem was solved.

vinifmor avatar Jan 31 '20 19:01 vinifmor

what determines the minimum window size? i cannot make it smaller than this: image using the aur package on manjaro

VoodaGod avatar Apr 18 '22 11:04 VoodaGod

@VoodaGod at the moment it is not possible. But it could be added as a configuration property.

vinifmor avatar Apr 18 '22 12:04 vinifmor

but why is it so wide? is this not a bug? it's wider than 1080 so it wouldn't even fit on a regular screen...

VoodaGod avatar Apr 18 '22 13:04 VoodaGod

I had a look on the code, and it is defining the minimum width based on a screen percentage. I'm going to change this behavior. By the way, what is your resolution ?

vinifmor avatar Apr 18 '22 13:04 vinifmor

@VoodaGod , I've published a possible fix to the staging branch. You can install it through AUR (bauh-staging).

vinifmor avatar Apr 18 '22 14:04 vinifmor

@vinifmor i'm on uhd (3840x2160) on a 48". with bauh-staging i can make it much smaller: image however there is no indication that columns are being cut off. i assume limiting the width of the window to the width of all columns is easier said than done? i think this should be the minimum: image or the list should be horizontally scrollable if it doesn't fit into the window

as it is the fix is already an improvement though ;)

VoodaGod avatar Apr 18 '22 15:04 VoodaGod

@VoodaGod thanks for the feedback. I will have a look if it is possible to lock the resizing based on the columns width.

vinifmor avatar Apr 18 '22 16:04 vinifmor

I've pushed a new change to the staging branch locking the minimum window width based on the columns. Let me know if issues arise.

vinifmor avatar Apr 18 '22 20:04 vinifmor