-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Please remove the "auto scroll to start" when reordering columns #19810
Comments
I confirm with 4.5.5 and 4.6.0 in Windows. Both use the same Qt version 6.4.3. I can't reproduce in Linux with Qt 6.6.0. |
It's not even scrolling all the way to the left, it scrolls to the "Name" column; Try reordering your columns and put something to the left of the "Name" column. You will find that it snaps to align the left side of the "Name" column, no matter where it is. |
FWIW I see this on both 4.6.0 on a Mac and 5.0.0 unstable on Ubuntu 22.04. Not sure which qt version either uses |
I also see this on 4.5.3 which uses qt 6.5.1 |
also duplicate #18992 |
This appears to be Qt option that was added way back - not a bug. I think the behavior can be turned off when building with the correct flags, if one knows how to do so. I think this page is talking about this "feature"? May we have a build where the automatic scrolling is turned off please. I've been really looking forward to the day. It's been two to three years since this was introduced - qBt wasn't always like this. macOS 14.3 |
Mine doesn't snap to the name column, it snaps all the way to the left. It doesn't matter which columns are displayed either or what order they are in. What matters is that all of the columns don't fit inside the window frame and you are scrolled to the far right when clicking to reorder the column. |
in the comments for this "bug" there are some workarounds proposed: Eike Ziller added a comment - 06 Nov '17 11:56 Eike Ziller added a comment - 08 Nov '17 08:49 - edited
|
@glassez Would you please take a look at this? This is a very long running UI issue (many years) and Qt upgrades and updates will never address it - only changing Qt build options will. |
When I drag a column header out of viewport, I would expect it to scroll in that direction. Currently I see the following problems:
I have no desire to investigate this problem in Qt. |
In that case I sincerely hope the two issues are related... I see what you describe as well. If auto-scrolling can be disabled globally that would be wonderful 🙏 The auto-scrolling behavior that I find maddening is sorting a column from ascending to descending, or vice versa - when the column is on the right side of the viewport it auto-scrolls to the far left every time. It can't be stopped. Then I have to scroll back to the right to view the freshly sorted column. I do much more sorting than moving columns |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I think it is duplicate. @101Dude can you guarantee you didn't move the mouse even slightly while mouse button is pressed down? I see in the video that the first sort click didn't trigger the problem. Mouse moved a little after the 2nd click but i don't know if you had released the button before that. Why are you guys talking about doing anything before we test with Qt 6.6.0+ #19810 (comment)? Maybe one of you have already tested? |
Well, here are my results:
The autoscroll problem on sorting by column is reproducible only in those cases mentioned above, in which the problem with moving the column header is reproducible, and ONLY if the column header is carelessly affected during a click, which leads to a short-term drag (as @thalieht suggested). |
What exactly do you ask? |
Qt 6.5 builds were causing crashes on macOS -> #19090 (comment) On windows - dark mode could be automatically enabled with Qt 6.5 but caused some parts of GUI to remain white etc for example: #18950 Qt 6.6.1 also fixed that issue, #18950 (comment) |
This comment was marked as off-topic.
This comment was marked as off-topic.
I retested with two mice (one wired with no trackpad) and was extra careful not to move the mouse while clicking. Clicking and dragging a column will cause the column header to highlight. I even paid $4.99 for a mouse coordinate app to verify 🤓 Towards the end (about 0:58) you will see successive clicks on exactly the "correct" pixel that don't cause an auto-scroll. qbt.autoscroll720.mp4I spent an hour looking for patterns of behavior. Location of click seems to be something, time between clicks - faster is not good because it causes clicks to be missed entirely, when a column is already selected it seems to be less prone to auto-scrolling when clicked on again. I can't really discern a pattern... very frustrating. I know that if I find the right spot by trial and error I can keep clicking there and sort the column repeatedly until the viewport is changed then that spot no longer works. Theory is that the clicking area is just too narrow. I have also noticed selection issues with rows where I can't SHIFT click to select a group if I don't make the second click exactly on the correct spot in the row. If second click is too high or low in the row then the selection won't happen. SHIFT click on mac is select one row while holding shift key down then select another row and all rows between will become selected. If I can do any more experimentation let me know. I'd really like to see this resolved. |
Wow thanks for doing that @101Dude. Maybe it's a Mac only bug... i can't reproduce it in Windows. |
2024-01-19.15-02-47.mp4 |
@glassez Is there a version I can test on macOS to see if it's still an issue? This is still tagged as "waiting info". Is there any info I can provide?
I did test this release : Whatever has changed has worked for two issues on macOS (thank you)
However, the autoscroll still happens when dragging a column on macOS Thank you so much for your efforts! |
This bug is occurring for me on Windows 10 with the latest v4.6.3 version. Definitely not exclusive to MacOS. There are tons of other weird UI bugs too (like row height randomly changing). |
more or less exactly the same behaviors (auto left scroll + row height changing then return to initial height) in Windows 11 and qBittorrent v4.6.4 (64-bit). |
At some point I downloaded a beta to test and it was better on macOS. It looks like those fixes didn't get incorporated into qBittorrent v4.6.4 build. What I notice over and over is the area to select any header to avoid the auto scroll is so narrow - a few pixels at most. The same for shift-selecting multiple rows - the selection area is a few pixels high and just below the midpoint of the row. The area to select should be the full row height. There is an alignment issue. It's most likely how the devs have set up qt. Been an annoyance for ~5 years. |
Thanks for the clarification 101Dude. |
OS Edition: Windows 10 Pro order of operations: |
This is what happens for me, too. |
I've only just discovered this bug. Happening for me on Windows 10 Pro 22H2 x64 and qBittorrent v4.6.5. |
It appears devs don't want to remove this "feature" that is a part of Qt and well documented on the Qt website. I have a screenshot of the exact pixel that doesn't cause the force scroll. If I move off this pixel, and click, the window scrolls to the left. I am using Qt: 6.4.3 |
I have not noticed this problem with Qt 6.7.2. Can anyone confirm or deny? |
I have tried building with Qt 6.7.2 for MacOS and running into trouble with the shell script I used a year ago. |
macOS is not for me. |
Great news... no more auto scrolling!!! I was able to build master using Qt 6.7.0 with the shell script linked to in the Wiki: qBittorrent v4.6.5 Qt: 6.7.0 |
Fantastic!!! I have no idea how to build the master so hopefully your fix will be incorporated into some future version of qBT. |
Great! Closing. |
Suggestion
Whenever I reorder a column the app forcefullly scrolls all the way back to the left. Trying to scroll while it's doing this just ends up fighting it. It's a ridiculous behavior with no purpose other than to annoy people.
Use case
No response
Extra info/examples/attachments
No response
The text was updated successfully, but these errors were encountered: