Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G gtk-vnc
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtk-vnc
  • Merge requests
  • !23

Avoid artifacts on HiDPI displays

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Marek Kašík requested to merge mkasik/gtk-vnc:artifacts into master Dec 08, 2022
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

VncDisplay shows horizontal and vertical lines when scaling of the widget is performed for HiDPI display:

Screenshot_from_2022-12-08_17-40-07

This can be avoided by moving the updated rectangle by -0.5 in both directions and increasing its size by 1 in both directions.

Also the values which currently avoid artifacts on non-HiDPI displays has to be modified for both cases when scaling of VNC display is enabled and disabled.

This fixes the issue for 200%, 300% and 400% HiDPI scales.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: artifacts