Bug 435024

Summary: setFont on a TreeWidgets requires .setRedraw(false) and .setRedraw(true)
Product: [Eclipse Project] Platform Reporter: Daniel Rolka <daniel.rolka>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P2 CC: alex.blewitt, daniel_megert, Lars.Vogel, markus.kell.r, twolf
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/163742
Whiteboard:
Bug Depends on: 376936, 433858, 434980    
Bug Blocks:    

Description Daniel Rolka CLA 2014-05-16 03:20:15 EDT
We have the temporary workaround for the issue - Bug 433858, but due to flicking of the Tree widget during redrawing we were not able to fix it in the proper way

Daniel
Comment 1 Dani Megert CLA 2014-05-16 07:53:10 EDT
NOTE: The flickering was not caused by setting the font but because we removed the setRedraw(*) calls from CSSPropertyFontSWTHandler.setFont(Widget, Font). For Luna we added them back (see bug 433858 comment 34), but those calls need to go away in Mars.
Comment 2 Markus Keller CLA 2014-05-16 09:17:45 EDT
Note that the setRedraw calls that were removed in bug 401633 were not exactly at the same place as the new ones from bug 433858 comment 34 (and bug 435061).
Comment 3 Lars Vogel CLA 2015-03-18 19:52:11 EDT
(In reply to Daniel Rolka from comment #0)
> We have the temporary workaround for the issue - Bug 433858, but due to
> flicking of the Tree widget during redrawing we were not able to fix it in
> the proper way

Related commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=0402ebd10a57f9c2ca5cd2da3479470f98f70973

I think this bug belongs to SWT, looks like the need to do the above change in their code.
Comment 4 Eclipse Genie CLA 2020-05-28 05:10:34 EDT
New Gerrit change created: https://git.eclipse.org/r/163742
Comment 5 Lars Vogel CLA 2020-05-28 05:13:04 EDT
https://git.eclipse.org/r/163742 can be used if the issue is still present in the IDE.