mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Space key will change only one, last checkbox, not all selected. #124
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Oct 3, 2012).
This will happens on "adding torrent to download" view.
Env: Win7
qBittorrent: 3.0.5
@sorokin commented on GitHub (Nov 15, 2014):
This happens not only in "add torrent" dialog, but also in torrent content tab and in scan folders in options.
Also we have a problem that checkboxes belongs to specific column and spacebar doesn't work if wrong column is selected. Some themes don't even show which column is selected.
@sledgehammer999 commented on GitHub (Nov 16, 2014):
I am sure this has something to do with the "activate" key of list/model/whatever which is configurable in qt.
@sorokin commented on GitHub (Nov 16, 2014):
This is a setData() callstack:
I've read the source of functions in callstack. QAbstractItemView::edit is already called for specific cell. So I think we should hook in QAbstractItemView::keyPressEvent.
I'm planning to write our own TorrentContentTreeView with overridden keyPressEvent.
Is this solution ok?
@sledgehammer999 commented on GitHub (Nov 16, 2014):
I am not sure. Ping me again in a few days, because I am looking at other things with the pending pull requests.
FYI: Somehow we already process keys presses because pressing F2 in the content pops up the rename dialog.