| Issue 2647: | Ctrl+C does not work on new change screen | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.8.4 What steps will reproduce the problem? 1. Open change details in new change screen 2. Open "revisions" dropdown 3. Select commit hash of the opened patchset (the one that is not a link) 4. Press Ctrl+C What is the expected output? What do you see instead? I expect the hash to be in my clipboard. It is not. I have to right click it and choose "Copy" to copy it. Please provide any additional information below. Problably the Ctrl+C shortcut is handled by Gerrit and does not copies the content to clipboard.
May 12, 2014
Project Member
#1
David.Os...@gmail.com
Status:
AwaitingInformation
May 12, 2014
As I wrote - right click & copy works for me too.
May 13, 2014
It looks like this affects actually all keystrokes (closing the window, or using the "u" to go up to the dashboard both fail), and I tested in Chrome and Safari for Mac with the same results.
May 13, 2014
Okay, this happens because the PopupPanel is modal, and because the key press events aren't handled by the panel, they are cancelled. To test this, change RightSidePopdown's show() method to create the PluginSafePopupPanel(true, false) -- this will create it with autoHide and NOT modal, and the copy will work normally. Not sure if this is the "fix" -- but it certainly confirms the cause.
Sep 8, 2015
Looks like this might've been fixed in GWT. Other keystrokes (such as "u" to go back to the dashboard) still don't work, but copy/paste seem fine.
Status:
Accepted
|
|
| ► Sign in to add a comment |