Bug 567615 - [Big Sur] Editor is not refreshed after Back or Forward navigation
Summary: [Big Sur] Editor is not refreshed after Back or Forward navigation
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.18   Edit
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Target Milestone: 4.18 M3   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 550324 569484 (view as bug list)
Depends on:
Blocks: 565691 568813
  Show dependency tree
 
Reported: 2020-10-05 13:10 EDT by Michael Golubev CLA
Modified: 2020-12-28 05:32 EST (History)
8 users (show)

See Also:


Attachments
screencast of the issue (24.11 MB, video/quicktime)
2020-10-05 13:14 EDT, Michael Golubev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Golubev CLA 2020-10-05 13:10:11 EDT
The screencast is from 2020-06, the same is reproduced for me for 2020-09

To reproduce on Big Sur, 20A5384c: 
- open some an editor, navigate somewhere in the middle of the code
- navigate away to the same file by overview, 
- use Main Menu | Navigate | Back (or, later, Forward)

=> the actual logical location inside editor has changed, but the UI is not updated. Pressing Up or Down arrow, iteratively reveals the actual line contents. 

See the screencast

I can see in the debugger, that this and many similar refresh errors have the common cause, specifically the missing SWT.Paint events which are not broadcasted under the Big Sur for many common use cases.
Comment 1 Michael Golubev CLA 2020-10-05 13:14:54 EDT
Created attachment 284367 [details]
screencast of the issue
Comment 2 Justin Dolezy CLA 2020-10-21 09:32:28 EDT
We believe this missing paint event is the cause for various rendering/refresh issues we're seeing, including black draw2d editors when switching editor tabs, as discussed here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=543796#c25
Comment 3 Lakshmi P Shanmugam CLA 2020-10-30 08:32:01 EDT
Can you please try with the recent build [1] and see if the problem is still reproducible?

[1] - https://download.eclipse.org/eclipse/downloads/drops4/I20201028-1800/
Comment 4 Phil Beauvoir CLA 2020-10-31 07:28:26 EDT
(In reply to Lakshmi P Shanmugam from comment #3)
> Can you please try with the recent build [1] and see if the problem is still
> reproducible?
> 
> [1] - https://download.eclipse.org/eclipse/downloads/drops4/I20201028-1800/

I reproduced this issue on Eclipse 4.17.

Tested Eclipse 4.18 I20201028-1800 on Big Sur 11.0.1 Beta (20B5012d) and this issue is fixed.

Thanks very much Lakshmi for your work on fixing SWT issues!
Comment 5 Lakshmi P Shanmugam CLA 2020-11-03 03:08:55 EST
Thanks for verifying, Phil!
Comment 6 Justin Dolezy CLA 2020-11-03 06:17:19 EST
I've just tested with I20201101-1800 and can also confirm the fix looks good. Time for us to rebase our SWT fork I think!

Many thanks Lakshmi :)
Comment 7 Sravan Kumar Lakkimsetti CLA 2020-11-17 03:07:59 EST
Verified in
Eclipse SDK
Version: 2020-12 (4.18)
Build id: I20201116-1800
OS: Mac OS X, v.10.16, x86_64 / cocoa
Java version: 15.0.1
Comment 8 Sarika Sinha CLA 2020-12-08 22:11:11 EST
*** Bug 569484 has been marked as a duplicate of this bug. ***
Comment 9 Lakshmi P Shanmugam CLA 2020-12-28 05:32:30 EST
*** Bug 550324 has been marked as a duplicate of this bug. ***