Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | MsgBox with info icon shows wrong buttons | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | App Dev | Reporter: | catkin <ooo> | ||||||
Component: | scripting | Assignee: | hdu <hdu> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P4 | CC: | davian818, hanya.runo, hdu, issues, joesch04 | ||||||
Version: | 3.3.0 or older (OOo) | ||||||||
Target Milestone: | 4.1.0 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | 4.0.1 | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
catkin
2007-02-25 17:03:00 UTC
->ab STARTED, 2.x basic and scripting issues now should be assigned to component "scripting" set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x *** Issue 25150 has been marked as a duplicate of this issue. *** When 64 is specified that shows information symbol is InfoBox class and it supports only OK button to show. Should it support the different kind of buttons only for the MsgBox function? It is rather obvious that if the user has requested a dialog with 3 buttons, they should receive a dialog with 3 buttons and not with the 1. Created attachment 82022 [details]
Patch to add InfoBox constructor that takes the style and to fix the problem
Adds InfoBox( Window* pParent, WinBits nStyle, const XubString& rMessage );
to match with the other constructors like ErrorBox or QueryBox.
And use it for the information box in MsgBox function.
"hdu" committed SVN revision 1546977 into trunk: #i74854# fix buttons in MsgBox with info icon Created attachment 82024 [details]
test document for different MsgBox styles
Many thanks to Hanya for the patch! It is committed in trunk now. Clarified the issue summary to be more generic. *** Issue 98161 has been marked as a duplicate of this issue. *** Verified in the AOO410 branch. |