tibirna / qgit

Official git repository for QGit.
Other
174 stars 68 forks source link

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

Open harjoc opened 1 year ago

harjoc commented 1 year ago

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:

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 commented 1 year ago

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.