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

User Agent header flickers when trying to resize any column #191

Closed
hebasto opened this issue Jan 20, 2021 · 10 comments · Fixed by #164
Closed

User Agent header flickers when trying to resize any column #191

hebasto opened this issue Jan 20, 2021 · 10 comments · Fixed by #164
Labels
Bug Something isn't working

Comments

@hebasto
Copy link
Member

hebasto commented Jan 20, 2021

header_bug

System: Linux Mint 20.1 + Cinnamon DE + Qt 5.12.8

@hebasto hebasto added the Bug Something isn't working label Jan 20, 2021
@jarolrod
Copy link
Member

Confirming the same happens on macOS 11.1 + Qt 5.15.2

@RandyMcMillan
Copy link
Contributor

Appending a "bumper" as the last column of the peertablemodel should fix this issue.

In this stale PR - I found that was a reasonable solution.

https://github.com/bitcoin-core/gui/pull/135/files#diff-e721b02fefce2a90ae95da0841adfdcc610ffccf93236ef236f81c1baead8e01R112

@hebasto
Copy link
Member Author

hebasto commented Jan 20, 2021

Appending a "bumper" as the last column of the peertablemodel should fix this issue.

In this stale PR - I found that was a reasonable solution.

https://github.com/bitcoin-core/gui/pull/135/files#diff-e721b02fefce2a90ae95da0841adfdcc610ffccf93236ef236f81c1baead8e01R112

@RandyMcMillan
Could that change be separated from #135 into its own bugfix PR?

@RandyMcMillan
Copy link
Contributor

I will take a look - the PR may be too stale.

@RandyMcMillan
Copy link
Contributor

I should have a fix in a few minutes.

@hebasto
Copy link
Member Author

hebasto commented Jan 20, 2021

@RandyMcMillan
Another option is to fix the TableViewLastColumnResizingFixer class.

EDIT: it seems TableViewLastColumnResizingFixer is not used here...

@hebasto
Copy link
Member Author

hebasto commented Jan 21, 2021

Interesting that the banlistWidget has the same properties as the peerWidget, but the former works without flickering.

@hebasto
Copy link
Member Author

hebasto commented Jan 21, 2021

It appears that this bug is fixed in f73d340 (#164).

@jarolrod Could you check it please?

@jarolrod
Copy link
Member

@hebasto testing now

One note about this bug is that it happens if that User Agent column is a certain size. If I resize the User Agent column to be smaller, then it doesn't happen when I got to resize other columns. But, if I bring it back to its original size, the bug shows up.

bug-gif

@jarolrod
Copy link
Member

@hebasto confirming that #164 fixes this bug, seems that your refactoring of PeerTableModel::refresh() did the job

@hebasto hebasto closed this as completed in e638acf Jun 7, 2021
@hebasto hebasto mentioned this issue Jun 28, 2021
@bitcoin-core bitcoin-core locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants