vi-eclipse / Eclipse-Platform

Umbrella repository for managing a backlog of features/issues related to the Eclipse Platform
2 stars 0 forks source link

Non system cursors are not adapted to DPI scale changes #104

Open akoch-yatta opened 4 months ago

akoch-yatta commented 4 months ago

For system cursors windows has them autoscaled to the DPI it is used on. That does not work when cursors are created by the Constructors with ImageData provided to them. One solution here could be to apply the "one cursor handle per zoom"-pattern as it is done in the other resources. But with ImageData as data source this would result in a pixelated scaling. Better would probably be to provide one or more additional constructors with ImageDataProvider and/or ImageFileNameProvider instead of ImageData to be able to properly fetch scaled variants of a cursor.

ShahzaibIbrahim commented 1 month ago

@fedejeanne I see a PR being merged for this one. Should we close this here?

HeikoKlare commented 1 month ago

Which PR do you refer to? The one referring to this issue (https://github.com/eclipse/gef-classic/pull/479, even though the link has been removed), is specific to GEF and and is not a solution for this issue in general.