RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1351562 - "Connection Address" and "Cancel" button in remote-viewer connection window have same access keys
Summary: "Connection Address" and "Cancel" button in remote-viewer connection window h...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.9
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Eduardo Lima (Etrunko)
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1351487
Blocks: 1351501
TreeView+ depends on / blocked
 
Reported: 2016-06-30 10:33 UTC by Xiaodai Wang
Modified: 2017-03-21 09:19 UTC (History)
12 users (show)

Fixed In Version: virt-viewer-2.0-15.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1351487
Environment:
Last Closed: 2017-03-21 09:19:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0587 0 normal SHIPPED_LIVE libgovirt, rest, spice-gtk, and virt-viewer bug fix and enhancement update 2017-03-21 12:24:45 UTC

Description Xiaodai Wang 2016-06-30 10:33:51 UTC
+++ This bug was initially created as a clone of Bug #1351487 +++

Description of problem:
"Connection Address" and "Cancel" button in remote-viewer connection window have same access keys

Version-Release number of selected component (if applicable):
virt-viewer-2.0-8.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Run "remote-viewer" interminal.
2. Press "alt" when connection window displays.
3. keep to press "alt+c" 

Actual results:
1. After step 2, "Connection Address" and "Cancel" button in remote-viewer connection window have same access keys
2. After step 3, The foucs switches betwen "Connection Address" and "Cancel" button. Can type some string when connection address text entry get foucus, but can't cancel the connection when "cancel" button get foucs.

Expected results:
"Connection Address" and "Cancel" button in remote-viewer connection window should have different access keys.

Additional info:

--- Additional comment from Fabiano Fidêncio on 2016-06-30 04:10:23 EDT ---

Patch is in the ML:
https://www.redhat.com/archives/virt-tools-list/2016-June/msg00218.html

--- Additional comment from  on 2016-06-30 04:48 EDT ---



--- Additional comment from  on 2016-06-30 04:49:38 EDT ---

And if press "alt+r", a warning displays in terminal.
(remote-viewer:20535): Gtk-WARNING **: widget `GtkRecentChooserWidget' isn't 
suitable for mnemonic activation

--- Additional comment from Fabiano Fidêncio on 2016-06-30 04:57:52 EDT ---

(In reply to xiaodwan from comment #3)
> And if press "alt+r", a warning displays in terminal.
> (remote-viewer:20535): Gtk-WARNING **: widget `GtkRecentChooserWidget' isn't 
> suitable for mnemonic activation

"Mnemonics automatically activate any activatable widget the label is inside, such as a gtk.Button; if the label is not inside an activatable widget, you have to tell the label about the target using the set_mnemonic_widget() method. Here's a simple example where the label is inside a button."

That's the definition of Mnemonics from Gtk+.

alt+c is the mnemonic for Cancel and that's what my patch does. Add missig mnemonics for the buttons on that window. So, with the patch alt+c triggers the Cancel button, alt+o triggers the Connection button.

--- Additional comment from Fabiano Fidêncio on 2016-06-30 05:29 EDT ---

Comment 4 Xiaodai Wang 2016-12-05 07:25:49 UTC
I verified it with virt-viewer-2.0-17.el6.x86_64:

"Connection Address" and "Cancel" button have different mnemonics, and their function work well.
mnemonic of "Recent Connections" is removed.

So move the bug from ON_QA to VERIFIED.

Comment 6 errata-xmlrpc 2017-03-21 09:19:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0587.html


Note You need to log in before you can comment on or make changes to this bug.