Bug 1460312

Summary: feature where in application right-click menu should sync up with the taskbar right-click menu so that there user's cannot accidentally close the window
Product: Red Hat Enterprise Linux 7 Reporter: ptoshniw
Component: gnome-shell-extensionsAssignee: Florian Müllner <fmuellner>
Status: CLOSED NEXTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact: Jana Heves <jsvarova>
Priority: unspecified    
Version: 7.5CC: rstrode, tpelka
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-22 13:51:59 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: 1420851, 1479818    

Description ptoshniw 2017-06-09 16:32:16 UTC
Description of problem:
feature where in  application right-click menu should sync up with the taskbar right-click menu so that there user's cannot accidentally close the window

Version-Release number of selected component (if applicable):
gnome-shell-3.22.3-9.el7.x86_64.rpm 

In RHEL 6 if we are following below procedure, we can sync up the task bar right click menu with the application's right click so menu so as to disable the 'Close' option in one go in motif.

1.	Start ‘gedit’ app
2.	Get Window ID of gedit app by running ‘xwininfo’ on commandline in a terminal window, then click on gedit app when mouse pointer turns into a crosshair icon. After clicking on gedit window, the window ID will display in the terminal/commandline window.
3.	Using <window ID> from step 2., modify gedit app MOTIF HINTS with this command:
a.	xprop -id <WindowID> -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x3, 0x4, 0x0, 0x0, 0x0"
b.	Example: xprop -id 0x2a0004a -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x3, 0x4, 0x0, 0x0, 0x0"
4.	Right-click menu options on the gedit app should change (Minimize, Maximize, Close are ‘greyed out’)
5.	Right-click menu options on gedit taskbar menu did not change (Minimize, Maximize, Close are still active, but should not be.)  … (But did change in RH6)

In RHEL 7 this is not working as only 'Close' option from the applications's right click menu is getting disabled.

Ideally there should be a way to sync up the application right-click menu with the taskbar right-click menu so any option changes to the app is applied to the taskbar.

Reference : https://bugzilla.gnome.org/show_bug.cgi?id=783601



Expected results:


Additional info:

Comment 5 Florian Müllner 2017-11-22 13:51:59 UTC
The issue has been fixed upstream in the version that will be used in RHEL 7.5, so no further action is required.