Bug 1443011 - [RFE] Allow spokes to configure keyboard shortcuts
Summary: [RFE] Allow spokes to configure keyboard shortcuts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Kolman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1439608
TreeView+ depends on / blocked
 
Reported: 2017-04-18 09:54 UTC by Vojtech Trefny
Modified: 2017-05-01 18:17 UTC (History)
6 users (show)

Fixed In Version: anaconda-26.21.4-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-01 18:17:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1439608 0 unspecified CLOSED DELETE and INSERT keys work only when right-click menu is displayed 2021-02-22 00:41:40 UTC

Internal Links: 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.


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