Bug 484960

Summary: system-config-printer useless in IceWM, modal popup steals focus from password entry
Product: [Fedora] Fedora Reporter: Pavel Roskin <plroskin>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0.15-1.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-24 20:47:25 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:
Attachments:
Description Flags
screenshot none

Description Pavel Roskin 2009-02-10 21:21:53 UTC
Created attachment 331471 [details]
screenshot

Description of problem:

system-config-printer cannot be used to add a printer when IceWM is the window manager.  A pop-up window with the message "Adding printer" appears and steals focus from the dialog asking for the root password.  It's impossible to switch to the password entry with the mouse or with the keyboard.  I had to run X without any window manager to add a printer.

Version-Release number of selected component (if applicable):
system-config-printer-1.0.13-1.fc10

How reproducible:
Always on one system, but not on another one.

Steps to Reproduce:
1. run system-config-printer as an ordinary users
2. Click on "New"
3. Select LPD/LPR, address 192.168.1.1, queue "FOO"
4. Select Alps MD-1000 (the first non-generic printer in the list)
5. In the "Describe Printer" dialog, leave "Location" empty, click on Apply
  
Actual results:
Two windows appears.  One has "Please wait" in the window title, "Adding" in bold and "Adding printer" below.  The other window has "Authentication" in the window title, "Password for root on localhost?" in bold and input entries "Username:" and "Password:".  The first window has focus.  The second window has no focus.

Expected results:
Only the second window appears.  The first window seems useless to me, but I would not mind if it appears after I enter the root password.

Additional info:
I'm using icewm-1.2.35-4.fc10.  The blame must be partly on IceWM.  However, system-config-printer still has an interface problem.  It should not be opening two windows at once.  A window that requires input should not be obscured by an information window.  Ideally, information windows should be replaced with the status bar in the main window.

Comment 1 Fedora Update System 2009-02-24 20:47:12 UTC
system-config-printer-1.0.15-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 2 Fedora Update System 2009-02-24 20:59:01 UTC
system-config-printer-1.0.15-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Pavel Roskin 2009-02-24 22:12:04 UTC
I confirm that the bug is fixed.  Thank you!