Bug 202818

Summary: unneeded help icon in "please wait" window
Product: [openSUSE] SUSE Linux 10.1 Reporter: Christian Boltz <suse-beta>
Component: YaST2Assignee: Thomas Göttlicher <tgoettlicher>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: andreas.hanke
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot of YOU startup - with the unneeded icon marked

Description Christian Boltz 2006-08-30 21:48:33 UTC
I found a minor problem on the "please wait..." window when YOU starts:
It has a help icon in its titlebar, but there's no item providing help
(well, you don't really need help in a "please wait" notice ;-)

I suggest to remove the help icon from this window.

This affects startup of
- YaST2 Online Update (Text: please wait - "Bitte warten...")
- YaST2 sw_single (Text: reading package information - "Paketinformationen 
  werden eingelesen...")
- probably more modules using a similar information window on startup

I have Package Manager Update 3 installed, but IIRC the problem already existed in the previous versions.
Comment 1 Christian Boltz 2006-08-30 21:49:24 UTC
Created attachment 97594 [details]
screenshot of YOU startup - with the unneeded icon marked
Comment 2 Thomas Fehr 2006-09-11 10:15:38 UTC
Stefan, I hope you know how to handle this. 
Seems to me like something having to do with Window Manager integration of
yast2-qt.
Comment 3 Stefan Hundhammer 2006-09-12 09:44:02 UTC
I am not sure what makes the window manager think it should add a help icon.

Probably it's the WFLAGS that get passed to a QWidget that acts as the outermost widget of a pop-up dialog - they probably get propagated as WM_HINTS properties to the corresponding X11 window, and this is probably what makes KWin add that help icon.

Will investigate.
Comment 4 Stefan Hundhammer 2006-09-12 09:45:33 UTC
I just saw that this affects all YaST2 dialogs that are not derived from YWizard. Even HelloWorld.ycp has that icon.
Comment 5 Stefan Hundhammer 2006-11-02 15:34:09 UTC
dmueller says this depends on WStyle_ContextHelp, probably set by default for QDialogs.
Comment 6 Thomas Göttlicher 2007-11-23 15:00:44 UTC
fixed in svn r42368.
Comment 7 Thomas Göttlicher 2007-11-23 15:01:36 UTC
fixed in svn r42368.