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

bar resize can't reach a certain number in one shot #1470

Open
pascalpoitras opened this issue Apr 7, 2020 · 3 comments
Open

bar resize can't reach a certain number in one shot #1470

pascalpoitras opened this issue Apr 7, 2020 · 3 comments
Assignees
Labels
bug Unexpected problem or unintended behavior

Comments

@pascalpoitras
Copy link

pascalpoitras commented Apr 7, 2020

Bug summary

I can't resize a bar to a certain number in one shot.

Steps to reproduce

1. start a terminal with the following geometry 80x24
2. launch a default weechat configuration
3. /window splitv 50
4. /bar set buflist size 50
5. Don't works
6. /bar set buflist size 30
7. /bar set buflist size 50
8 now it works ???

Current behavior

To reach 50 we first need to give a lower number then we can reach 50

Expected behavior

It should go straight to 50 no ?


  • WeeChat version: WeeChat 2.9-dev (git: v2.8-14-ga072d769f)
  • OS, distribution and version: Debian 10
@pascalpoitras pascalpoitras added the bug Unexpected problem or unintended behavior label Apr 7, 2020
@pascalpoitras
Copy link
Author

this is not caused by the split, without any split it does the same (with different number)

@flashcode flashcode self-assigned this Apr 7, 2020
@flashcode flashcode added the in progress Someone is working on this issue label Apr 7, 2020
@flashcode flashcode added this to the 2.9 milestone Apr 7, 2020
@flashcode flashcode removed the in progress Someone is working on this issue label Apr 7, 2020
@pascalpoitras
Copy link
Author

still not working when there is a split

@flashcode flashcode reopened this Apr 9, 2020
@flashcode flashcode added in progress Someone is working on this issue and removed in progress Someone is working on this issue labels Apr 9, 2020
@flashcode flashcode removed this from the 2.9 milestone Apr 11, 2020
@flashcode
Copy link
Member

In fact the way to check if the new bar size is OK is wrong, we should simulate a resize for all windows and if it fails, do not apply anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants