| Summary: | [Mac][BigSur] Content Assist icons not drawn correctly on BigSur | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Matthias Becker <ma.becker> |
| Component: | SWT | Assignee: | Lakshmi P Shanmugam <lshanmug> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | lshanmug, register.eclipse, s.zimmermann, sebastian.ratz, thomas.alexander.ritter, yannic.soethoff |
| Version: | 4.18 | Flags: | lshanmug:
review+
|
| Target Milestone: | 4.20 RC1 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| See Also: |
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180642 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f6c68495ee7b34a64b4f0ef8fca3364c076d4c7d |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 569361 | ||
|
Description
Matthias Becker
(In reply to Matthias Becker from comment #0) > Does anybody have a clue what the difference in starting (the same IDE) on > the same OS is here? > There is difference because Eclipse launcher is built with an older SDK (10.10). Please see explanation here - https://bugs.eclipse.org/bugs/show_bug.cgi?id=568749#c4 (In reply to Lakshmi P Shanmugam from comment #1) > There is difference because Eclipse launcher is built with an older SDK > (10.10). Please see explanation here - > https://bugs.eclipse.org/bugs/show_bug.cgi?id=568749#c4 Thank you for this hint. Very interesting. Do you have an idea how to fix the "light bulb" issue? (In reply to Matthias Becker from comment #2) > (In reply to Lakshmi P Shanmugam from comment #1) > > There is difference because Eclipse launcher is built with an older SDK > > (10.10). Please see explanation here - > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=568749#c4 > > Thank you for this hint. Very interesting. > > Do you have an idea how to fix the "light bulb" issue? I didn't check the code, but cause could be similar to Bug 567132. Missing redraw calls, see https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171371 Can you please point to the code where the light bulb is drawn? (In reply to Lakshmi P Shanmugam from comment #3) > (In reply to Matthias Becker from comment #2) > > (In reply to Lakshmi P Shanmugam from comment #1) > > > There is difference because Eclipse launcher is built with an older SDK > > > (10.10). Please see explanation here - > > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=568749#c4 > > > > Thank you for this hint. Very interesting. > > > > Do you have an idea how to fix the "light bulb" issue? > > I didn't check the code, but cause could be similar to Bug 567132. Missing > redraw calls, see > https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171371 > > Can you please point to the code where the light bulb is drawn? org.eclipse.jface.fieldassist.ControlDecoration is used for this. (In reply to Lakshmi P Shanmugam from comment #3) > (In reply to Matthias Becker from comment #2) > > (In reply to Lakshmi P Shanmugam from comment #1) > > > There is difference because Eclipse launcher is built with an older SDK > > > (10.10). Please see explanation here - > > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=568749#c4 > > > > Thank you for this hint. Very interesting. > > > > Do you have an idea how to fix the "light bulb" issue? > > I didn't check the code, but cause could be similar to Bug 567132. Missing > redraw calls, see > https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171371 > > Can you please point to the code where the light bulb is drawn? Hi Lakshmi, any progress on this? (In reply to Matthias Becker from comment #5) > (In reply to Lakshmi P Shanmugam from comment #3) > > (In reply to Matthias Becker from comment #2) > > > (In reply to Lakshmi P Shanmugam from comment #1) > > > > There is difference because Eclipse launcher is built with an older SDK > > > > (10.10). Please see explanation here - > > > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=568749#c4 > > > > > > Thank you for this hint. Very interesting. > > > > > > Do you have an idea how to fix the "light bulb" issue? > > > > I didn't check the code, but cause could be similar to Bug 567132. Missing > > redraw calls, see > > https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171371 > > > > Can you please point to the code where the light bulb is drawn? > > Hi Lakshmi, > > any progress on this? I looked at ControlDecoration.update(). There is a call to Control.redraw (int x, int y, int width, int height, boolean all), but looks like it doesn't do anything for child views when 'all' is true. May be this needs to be implemented, something similar to https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171371 (In reply to Lakshmi P Shanmugam from comment #6) > I looked at ControlDecoration.update(). There is a call to Control.redraw > (int x, int y, int width, int height, boolean all), but looks like it > doesn't do anything for child views when 'all' is true. May be this needs to > be implemented, something similar to > https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171371 I can help with testing if you need help. New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180642 (In reply to Eclipse Genie from comment #8) > New Gerrit change created: > https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180642 @Matthias, can you please test the patch? Thanks for the patch! Matthias is currently on vacation, so I tested it and it works now as expected. I've tested it on MacOS 11.2.3 and the latest Eclipse I-builds as DevIDE and also target platform. (In reply to Yannic Soethoff from comment #10) > Thanks for the patch! > Matthias is currently on vacation, so I tested it and it works now as > expected. > I've tested it on MacOS 11.2.3 and the latest Eclipse I-builds as DevIDE and > also target platform. Thanks for testing! Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180642 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f6c68495ee7b34a64b4f0ef8fca3364c076d4c7d Problem was also seen in base eclipse after Eclipse SDK level moved to 10.14 (Bug 572187). Verified with I20210526-2310 |