bugDotGNU Portable.NET - Bugs: bug #9499, MessageBox.Show() doesn't display...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9499: MessageBox.Show() doesn't display modal dialog but modeless one.

Submitter:  Jeongkyu Kim <jeongkyu>
Submitted:  Tue 29 Jun 2004 10:25:58 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Discussion

Tue 26 Oct 2004 10:54:01 PM UTC, comment #3: 

Retest under KDE 3.2.3, same results as under Metacity.  Testing to continue.

Deryk Robosson <drobosson>
Group Member
Sat 23 Oct 2004 01:46:12 AM UTC, comment #2: 

Revisited this bug and reviewed all associated code.

Creating a messagebox with MessageBox.Show("foo"); will never get any form of modal flags set throughout the system as the Owner property of the object is never set.  This property not being set prohibits TopLevelWindow.cs TransientFor() method from setting the Xlib flag accordingly.

Creating a messagebox from a form with MessageBox.Show((IWin32Window)this, "foo"); will allow the Owner property to be set and the TransientFor() method to set the Xlib flag properly.

Bug #10717 is not related.

Deryk Robosson <drobosson>
Group Member
Mon 19 Jul 2004 12:32:52 PM UTC, comment #1: 

After tracing this all the way back to Xsharp/TopLevelWindow.cs (around line 1047) I've found that everything that one would expect for modal operation of the form is as it should be.  The call to Xlib.XChangeProperty is fine per the man page.  Perhaps this is windowmanager dependant issue which xlib has no control over.

Deryk Robosson <drobosson>
Group Member
Tue 29 Jun 2004 10:25:58 PM UTC, original submission:  

On Cygwin/WinXP, MessageBox.Show() doesn't show modal dialog but modeless one. So, I could get multiple message boxes by clicking the button(using attached test case).

When I closed the main form without closing message box(es), the application didn't terminate. (Only last message box was disappeard.)

Jeongkyu Kim <jeongkyu>

 

Attached Files

Attached Files
file #1450:  messagebox.cs added by jeongkyu (680B - text/plain)

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

History

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-29 jeongkyu Attached File- Added messagebox.cs, #1441

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code