Skip to content

Analyze performance of dpi change event handling #317

@akoch-yatta

Description

@akoch-yatta

Description
Over the previous releases the performance of a full refresh after a DPI change was detected seems to have significantly decreased. A deeper analysis of possible improvements, e.g. via profiler, is required to identify measures to improve the performance again. Goal of this issue is to do the structured analysis and identify the most problematic areas.

Reproduction
Trigger a DPI change of a big UI, e.g. the full Eclipse IDE, by dragging it to a different monitor with monitor specific scaling active. The refresh takes a decent amount of time.

Expected Behavior
A fast refresh after a DPI change event in complex UIs

Necessary configuration:

--

Additional knowledge
One idea could be to remove the redrawInPixels draw in Composite::handleDPIChange

Metadata

Metadata

Assignees

Labels

HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions