GNOME Bugzilla – Bug 763087
double click on sha1 make selection from "All" of "Expand all" or "Collapse All"
Last modified: 2016-06-05 10:06:52 UTC
Created attachment 323077 [details] [review] added between <span> tags I usually copy sha1 of commit because it is required for the build process of my work. I remember that gitg of version 0.x copied the sha1 whenever I select a commit but not now. So I usually double click the sha1 to select it. But at latest version of gitg, selection starts from "All" of "Expand All" or "Collapse All" and it makes me annoying. So now I have to manually drag from the start to end of sha1. I took the ui code and found that "Expand All" and sha1 are at the same block in <span> tag and I think that is the problem. I added between <span> tags and it works well. Please apply attached patch or make it better.
This should no longer be valid since we switched away from webkit. In the latest gitg you can simply double click on the sha1 to select it. I've also restored setting the primary selection to the selected commit sha1.