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
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

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.14-8eb0.
Corresponding source code