Skip to content

Editor tools incompletely applied when using -Dsun.java2d.uiScale=2 #325

@kunibertk

Description

@kunibertk

While trying out workarounds for #307, I came across the following: When I start lightzone with the -Dsun.java2d.uiScale=2 option, edit a picture and apply a filter, the filter is applied only to parts of the image. The image in the editor window appears tiled, with some rectangles showing the filter applied and some showing the original image. This does not happen when I start lightzone without the UI scaling option.

I am using ArchLinux with KDE on a 32" 3840x2160 screen. KDE overall application scaling is set to 150%. I am using java-21-openjdk. Lightzone is 5.0.0.beta2 - what was current on AUR on October 22, 2023. ArchLinux is a rolling release and I am using what was current on October 21, 2023.

To Reproduce

  1. Start lightzone as _JAVA_OPTIONS="-Dsun.java2d.uiScale=2" lightzone from the command line. (Same result if /usr/bin/lightzone is patched accordingly).
  2. Select an image and klick to edit
  3. Select, for example, the "HDR Dark Scene" or "Sunset" style. If unchecked, check the box to make the style active.

Screenshot
lzbug - big tools view s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions