Re: GUI incompatibility

2020-05-13 Thread Andreas Höschler via Discussion list for the GNUstep programming environment
Hi Fred, >> I could fix the problem under GNUstep by simply commenting out >> >> >> /* if (_firstResponder != v && ![v isKindOfClass: [NSButton >> class]]) >>{ >> // Only try to set first responder, when the view wants it. >> if

Re: GUI incompatibility

2020-05-13 Thread Fred Kiefer
> Am 13.05.2020 um 23:52 schrieb Andreas Höschler : > > I understand the idea behind this part > > if (_firstResponder != v && ![v isKindOfClass: [NSButton class]]) > { > // Only try to set first responder, when the view wants it. > if

Re: GUI incompatibility

2020-05-13 Thread Andreas Höschler via Discussion list for the GNUstep programming environment
Hi Fred, thanks for pointing me into the right direction. I got this figured out in the meanwhile. You do - (void) sendEvent: (NSEvent*)theEvent { ... if (_lastLeftMouseDownView) { DESTROY(_lastLeftMouseDownView); }

Windows HTTPS Issue

2020-05-13 Thread danieljboyd
I'm having a strange issue with an Restful Api client class I'm trying to write. Currently, I'm trying to get it to work with Microsoft's oauth2 endpoints. I'm trying to make a HTTP post request using [NSURLConnection sendSynchronousRequest: returningResponse: error:]. I'm just doing a basic

Re: GUI incompatibility

2020-05-13 Thread Fred Kiefer
The relevant section in the sendEvent: method of NSWindow looks like this: if (wasKey == YES || [v acceptsFirstMouse: theEvent] == YES) { if ([NSHelpManager isContextHelpModeActive]) { [v helpRequested:

GUI incompatibility

2020-05-13 Thread Andreas Höschler via Discussion list for the GNUstep programming environment
Hi Fred, I am still trying to get my apps to work under GNUstep. I have already worked around a couple of incompatibilities between Cocoa and GNUstep that caused trouble. I now ended up at the following problem: I have some NSView subclass on a window ValueElementCarrier :

Re: ctrl-mouse drag does not work

2020-05-13 Thread Riccardo Mottola
Hi, Andreas Höschler via Discussion list for the GNUstep programming environment wrote: > and set the key modifiers to > > First command:Left Meta > First Alternate: Left Alt > First Control:Left Control > > but this made no difference. I still can't