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

Selecting commit hash using double or triple mouse click works unpredictably #134

Open
harjoc opened this issue May 8, 2023 · 1 comment

Comments

@harjoc
Copy link

harjoc commented May 8, 2023

Double clicking in the upper right line-edit that contains the commit hash in order to select and copy the whole hash does not always work.

Starting with nothing selected, and the cursor somewhere in the middle of the hash, one of the following happens after a double click:

  • all the hash is selected, or
  • all the hash is selected, but immediately after, the selection changes to "select from begining to mouse position".

In some apps, triple click progresses from "word selection" to "line selection". But it doesn't work here to resolve the unpredictability of the double click because if double-click does select the whole hash, triple click clears the selection.

Tested with qgit-2.9 ubuntu package, and source build from commit 6e95bf4 from 2022-11-06, using ubuntu-20.04 qt5 libraries.

@tibirna
Copy link
Owner

tibirna commented May 10, 2023

Hello

Try as I may, I'm not able to reproduce your report. Given that there is no particular handling of the content of that text field in the qgit code, I would guess that there are some problems with the underlying Qt library that your distro provides. There's either a slight version mismatch (between the library qgit was compiled with and the library present "live" in your OS) or a Qt binary that was somehow miscompiled.

In order to follow up with this, we would need more specifics. If you manage to determine particular conditions in which this happens (particular hashes, particular moments in the app's use etc.), please write back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants