Bug 64008 - Close / select only option
Summary: Close / select only option
Status: RESOLVED WORKSFORME
Alias: None
Product: kdialog
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-10 12:11 UTC by Joshua J. Wingstrom
Modified: 2003-10-29 08:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua J. Wingstrom 2003-09-10 12:11:43 UTC
Version:           0.9 (using KDE KDE 3.1.3)
Installed from:    Gentoo Packages
OS:          Linux

Sometime a user wants to display a message and nothing else.  In this case it would be good to have a --closeonly option.  I am currently writing a script where I ask to use to select a menu item.  If they select okay and cancel, both have the same effect.  It would be good not to mislead the user into thinking that clicking cancel will actually do something.  Also, as far as I can tell, they both return the same thing anyway, so even if I did want to cancel out of the script if they selected cancel, I could not.
Comment 1 Brad Hards 2003-10-20 11:15:53 UTC
Is it not enough to just use a --msgbox? Can you provide an example of the text you want to display?
Comment 2 David Faure 2003-10-29 08:10:42 UTC
--msgbox shows a "OK" only indeed.
And the exitcode _does_ differ depending on the button that was chosen (at least in HEAD, i.e. 3.2-beta; IIRC this was broken in 3.1).