bugDotGNU Portable.NET - Bugs: bug #14351, BeginInvoke does nothing when...

 
 

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

bug #14351: BeginInvoke does nothing when called from non-toplevel window

Submitted by:  Peter Flaig <fliege>
Submitted on:  Wed 31 Aug 2005 02:44:10 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 21 Sep 2005 11:29:44 PM UTC, comment #3:

fixed in cvs

Deryk Robosson <drobosson>
Project Member
Wed 21 Sep 2005 01:04:37 PM UTC, comment #2:

Peter, any chance of getting a patch for this please?

Deryk Robosson <drobosson>
Project Member
Thu 01 Sep 2005 05:31:44 AM UTC, comment #1:

BugFix:

Move the following code from Xsharp.TopLevelWindow to Xsharp.InputOutputWidget:

internal override void DispatchEvent(ref XEvent xevent)
{
switch((EventType)(xevent.xany.type__))
{
...

case Xsharp.Events.EventType.ClientMessage:
{
if(xevent.xclient.message_type == dpy.internalBeginInvoke)
{
OnBeginInvokeMessage((IntPtr)xevent.xclient.l(0));
}
}
break;
}
base.DispatchEvent(ref xevent);
}

/// <summary>
/// <para>Method that is called when a custom "BeginInvoke" message comes in
/// changes.</para>
/// </summary>
protected virtual void OnBeginInvokeMessage(IntPtr i_gch)
{
// Nothing to do in this base class.
}

And insert this in System.Drawing.Xsharp.DrawingWindow:

protected override void OnBeginInvokeMessage(IntPtr i_gch)
{
if( sink != null )
sink.ToolkitBeginInvoke(i_gch);
}

Peter Flaig <fliege>
Wed 31 Aug 2005 02:44:10 PM UTC, original submission:
Peter Flaig <fliege>

 

Attached Files
file #3159:  Changes.diff added by fliege (3KiB - text/plain - Patch)
file #3423:  BeginInvoke.zip added by fliege (5KiB - application/x-zip-compressed)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 21 Sep 2005 11:29:44 PM UTCdrobossonStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Wed 21 Sep 2005 02:15:56 PM UTCfliegeAttached File-=>Added Changes.diff, #2981
Wed 31 Aug 2005 02:44:10 PM UTCfliegeAttached File-=>Added BeginInvoke.zip, #2890

Back to the top


Powered by Savane 3.1-cleanup1