Phil Beauvoir

Results 810 comments of Phil Beauvoir

> Yes, and each time the main product is updated they have to be installed again. >> Then something is badly broken with your product. I don't want to side-track...

Area of interest in the `Display` class: https://github.com/eclipse-platform/eclipse.platform.swt/blob/2d43ce9373c690cba59c876e8df41f9ee8b5be46/bundles/org.eclipse.swt/Eclipse%20SWT/cocoa/org/eclipse/swt/widgets/Display.java#L2798-L2814

See https://developer.apple.com/documentation/appkit/nstextinput > Important > [NSTextInput](https://developer.apple.com/documentation/appkit/nstextinput) protocol is slated for deprecation. Please use the [NSTextInputClient](https://developer.apple.com/documentation/appkit/nstextinputclient) protocol instead.

Replacing `OS.class_addProtocol(cls, OS.protocol_NSTextInput);` with `OS.class_addProtocol(cls, OS.protocol_NSTextInputClient);` eliminates the warning but when text is selected in a `StyledText` control this error occurs in the Console app `-[SWTCanvasView insertText:replacementRange:]: unrecognized selector sent...

The following changes work with no warnings written to the log: ```java OS.class_addProtocol(cls, OS.protocol_NSTextInputClient); OS.class_addMethod(cls, OS.sel_hasMarkedText, proc2, "@:"); OS.class_addMethod(cls, OS.sel_markedRange, markedRangeProc, "@:"); OS.class_addMethod(cls, OS.sel_selectedRange, selectedRangeProc, "@:"); OS.class_addMethod(cls, OS.sel_setMarkedText_selectedRange_, setMarkedText_selectedRangeProc, "@:@{NSRange}");...

@DenisUngemach Thanks for the info. I think this kind of change is beyond my capabilities and perhaps prone to regressions, so I'll not continue with it. But this issue is...

I think this is a case that was missed when creating images at double-scale on Windows. I'll have to dig deeper but I think it used to work.

Further investigation shows that sometimes it does render at the correct size. One factor is whether the "Tip of the day" icon is showing in the bottom status bar or...

This is connected to another issue I see in Eclipse at 200% scaling. Sometimes the icons used for files (Program icons) in the Package Explorer have a black background and...

In the case of the Progress icon it's 2x too big on HiDPI (and so clipped so we only see 1/4 of it), so I always thought it was either...