Bug 435024 - setFont on a TreeWidgets requires .setRedraw(false) and .setRedraw(true)
Summary: setFont on a TreeWidgets requires .setRedraw(false) and .setRedraw(true)
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 376936 433858 434980
Blocks:
  Show dependency tree
 
Reported: 2014-05-16 03:20 EDT by Daniel Rolka CLA
Modified: 2021-06-13 08:02 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.