Bug 1714370

Summary: Application window opened through menu with keyboard opens in the background
Product: [Fedora] Fedora Reporter: Milan Crha <mcrha>
Component: mate-panelAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: fedora, stefano
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mate-panel-1.22.1-3.fc30 mate-panel-1.22.1-3.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-26 04:06:51 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:

Description Milan Crha 2019-05-27 21:16:21 UTC
Steps:
a) open a terminal with Applications->System Tools->MATE Terminal
b) use mouse to run: Applications->Programming->Devhelp
   - notice the opened window has focus and the user can interact with it, as expected
c) close the Devhel window; the terminal window from a) gains focus
d) use keyboard to run Devehelp from Applications->Programming->Devhelp,
   thus something like: Alt+F1, arrow up, P, D (maybe more times, if
   the Programming menu has more items starting with 'D'), Enter

Actual result:
The Devhelp window opens in background, the terminal has still the focus.

Expected result:
The just opened Devhelp gains focus even when run using keyboard.

This is not about Devhelp, I can reproduce it with a terminal, or calculator,... as well.

Installed is mate-session-manager-1.22.1-1.fc30.x86_64

Comment 1 Wolfgang Ulbrich 2019-06-02 18:39:15 UTC
Maybe this helps to relieve your pain :)
Koji scratch build with suggestion from upstream adopted to match 1.22.
https://github.com/mate-desktop/marco/issues/209#issuecomment-497947041
https://koji.fedoraproject.org/koji/taskinfo?taskID=35239194
Please test.

Comment 2 Milan Crha 2019-06-03 08:40:55 UTC
A quick test shows that the test build mate-panel-1.22.1-3.fc30 works fine here, the devhelp window is focused after it is run as expected, both using mouse and keyboard. Thanks.

Comment 3 Wolfgang Ulbrich 2019-06-03 09:48:58 UTC
Good, than author of patch can be done a PR at upstream.
When it is merged i will update fedora build.

Comment 4 Fedora Update System 2019-06-15 11:04:33 UTC
FEDORA-2019-960e5c6fcb has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-960e5c6fcb

Comment 5 Fedora Update System 2019-06-16 00:54:21 UTC
mate-panel-1.22.1-3.fc30 has been pushed to the Fedora 30 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-2019-960e5c6fcb

Comment 6 Fedora Update System 2019-06-16 01:14:42 UTC
mate-panel-1.22.1-3.fc29 has been pushed to the Fedora 29 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-2019-435fc88fdf

Comment 7 Fedora Update System 2019-06-26 04:06:51 UTC
mate-panel-1.22.1-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-06-26 04:11:01 UTC
mate-panel-1.22.1-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.