Bug 1443011

Summary: [RFE] Allow spokes to configure keyboard shortcuts
Product: [Fedora] Fedora Reporter: Vojtech Trefny <vtrefny>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-26.21.4-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-01 18:17:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1439608    

Description Vojtech Trefny 2017-04-18 09:54:15 UTC
Actual results:

It currently isn't possible to configure keyboard shortcuts for spokes. When using Gtk keyboard shortcuts are configured for a Gtk.Window and it isn't possible to get the "MainWindow" (Gtk.Window instance of Anaconda) during "refresh" (only the "SpokeWindow" instance is accessible using "self.main_window") so it isn't possible to access the Gtk.AccelGroup for Anaconda and configure custom keyboard shortcuts for the spoke.

Expected results:

1. either "main_window" property should contain a reference to "MainWindow" during refresh

2. or introduce some unified API for configuring keyboard shortcuts from spokes.

Comment 1 Vojtech Trefny 2017-04-18 09:58:05 UTC
This is currently needed probably only by blivet-gui spoke. Blivet-gui has some custom keyboard shortcuts ("Delete" do delete selected device etc.) and these doesn't work in Anaconda.

Comment 2 Fedora Update System 2017-04-28 13:28:57 UTC
anaconda-26.21.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f620d8c7c2

Comment 3 Fedora Update System 2017-04-30 03:52:24 UTC
anaconda-26.21.4-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f620d8c7c2

Comment 4 Fedora Update System 2017-05-01 18:17:44 UTC
anaconda-26.21.4-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.