mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:18:39 +00:00
Bugfix custom datadir doubleClick - Follow-up #392 #399
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!399
Loading…
Reference in a new issue
No description provided.
Delete branch "qml-fix-custom-datadir-doubleclick"
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?
This is a desktop-only (not mobile/ android) workaround to disable double-click on custom datadir which is on the
StorageLocations.qmlcomponennt.Double-clicking was causing the file dialog to get open but losing focus and moving to the background, bringing upfront the main window which was useless because the file dialog is modal (issue raised originally by @MarnixCroes on PR #392 but still persists in ongoing PR #397).
thanks for picking this up.
it doesn't fully fix the problem.
I can still repro sometimes, like +- 1 out of 10 times.
(double-checked I'm not making an error, like accidentally having the second click change the focus.)
Ok, thanks for testing it promptly. I couldn't reproduce the issue on Ubuntu, are you on Mac?
If we can't fully fix it, I'd need to investigate another approach and close this one.
no, Ubuntu 22.04.4 LTS
@MarnixCroes perhaps it has to do with the OS double click (speed?) config, could you please try changing timer interval from 50 to 150 or 300? Thanks!
I could repro with
150. (happened after 25 tries)I could repro with
300, only after +- 100 triesThanks for testing it again, let's discuss it tomorrow with the rest of the team on the devs call, so far we can have this as a workaround to solve this bug until we find a better approach.
Updates:
Updates:
Rebased to refresh CIs (#402). No code changes.
Please rebase to resolve conflicts.
Rebased as requested. No code changes.
Updates:
I'm concept NACK on using a timer here
I agree wasn't the best approach, let's see if this is still an issue after #427 and #428. I'll close this PR till then.