Skip to content
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

Windows resizing issues. #5

Open
SinisterBrain opened this issue Sep 20, 2019 · 19 comments
Open

Windows resizing issues. #5

SinisterBrain opened this issue Sep 20, 2019 · 19 comments
Assignees
Labels
enhancement New feature or request staging

Comments

@SinisterBrain
Copy link

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. :)

@vinifmor
Copy link
Owner

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

@vinifmor vinifmor self-assigned this Sep 22, 2019
@vinifmor vinifmor added the enhancement New feature or request label Sep 22, 2019
@talentlessguy
Copy link

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

image

@vinifmor
Copy link
Owner

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

@talentlessguy
Copy link

@vinifmor

Python 3.8.1
python-pyqt5 5.14.1-1
bauh 0.8.1

@vinifmor
Copy link
Owner

@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
Copy link
Owner

@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 ?

@talentlessguy
Copy link

@vinifmor same thing

image

bauh: 0.8.2

@vinifmor
Copy link
Owner

@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
Copy link
Owner

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 ?

@talentlessguy
Copy link

@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

@vinifmor
Copy link
Owner

@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 vinifmor mentioned this issue Jan 31, 2020
@VoodaGod
Copy link

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

@vinifmor
Copy link
Owner

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

@VoodaGod
Copy link

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...

@vinifmor
Copy link
Owner

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
Copy link
Owner

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

@VoodaGod
Copy link

@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 ;)

@vinifmor
Copy link
Owner

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

@vinifmor
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request staging
Projects
None yet
Development

No branches or pull requests

4 participants