Bug 431380

Summary: RFE: prevent notify popups while setroubleshoot is open
Product: [Fedora] Fedora Reporter: Andrew Farris <lordmorgul>
Component: setroubleshootAssignee: John Dennis <jdennis>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-07 18:19:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Farris 2008-02-03 23:02:34 UTC
It would be a nice option to prevent notify popups while setroubleshoot is open.
 Currently if you have setroubleshoot open and a new denial occurs you still see
the notify popup.  On a smaller monitor (especially widescreen formats) this
does take up a large amount of space, and denials occurring frequently can keep
the popup on screen.

If a user already has the setroubleshoot browser open then presumably they are
working on correcting the denials, and since it updates the window immediately
the popup is really not necessary (on the contrary, its annoying).

I suggest an option to 'Hide denial notifications' that is only effective while
setroubleshoot is open, and which lets the notifications continue normally if
setroubleshoot is closed.

A bit more sophisticated option would be to automatically hide them any time
setroubleshoot is the focused window, and normally display them if not, for
instance if setroubleshoot was minimized.

Comment 1 John Dennis 2008-02-07 18:19:12 UTC
I've added the following to /etc/setroubleshoot/setroubleshoot.cfg, should
appear in the 2.0.6 version. You would want to set the value to browser_hidden.

# use_notification: Control balloon notification. Possible values:
# always,never,browser_hidden "always" will always display the notification.
# "never" disables notification completely. "browser_hidden" displays the
# notification but only if the alert browser is not visible. Note: individual
# alerts can be flagged as silent disabling notification for a specific alert,
# this parameter does not override that.