Issue 1785: Change-Id no longer easy to copy/paste
Status:  New
Owner: ----
Reported by krinklemail@gmail.com, Feb 12, 2013
Affected Version: 2.5.2-1277-gca0bdda

What did you expect?

Being able to view a change, click or double click something, command-C. And have the Change-Id in my clipboard.

What do you see instead?

* The first heading that contained a short version of the Change-Id no longer exists on the main change page, it is only shown on the "publish" screen (assuming the header was intentionally removed, it still being on "publish" may be a bug, not a feature)

* The clipboard function copies the text "Change-Id: I#{40}" into the clipboard, not the hash itself or a short version of it but the entire header, which means I can no longer paste it directly into command line tools (such as git-review) that take a change id as argument.

* The textarea that appears when clicking the change id cell in the meta data table expands to include word "Change-Id: " again, which seems redundant as this label is already present in the table cell before it. Again, copy pasting this is the same issue.

So the only way to get it is to click the table cell (selecting straight wouldn't work as the selection is thrown away by Gerrit as soon as you release the mouse – when it swaps the cell for a textarea), then deselecting the text, and selecting the hash.