https://bugs.kde.org/show_bug.cgi?id=464256

            Bug ID: 464256
           Summary: Tablet pen is incorrectly offset when using
                    non-default QT_SCALE_FACTOR in recent builds
    Classification: Applications
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: * Unknown
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@ralek.art
  Target Milestone: ---

My current nightly build works fine, build 8e8c855 from a little while ago.
When attempting to update to a newer nightly ( 5c98a72 ), I found that my pen
is incorrectly offset when using the environment variable QT_SCALE_FACTOR set
to anything but 1. For me it is set to 1.5. The distance the pen is offset
seems to be proportional to this value. Krita seems to believe the pen is
further toward the bottom of the screen than anticipated.

As my tablet is 4k and my main monitor is not, and KDE does not currently
support fractional scaling, I must scale Krita using QT_SCALE_FACTOR in a bash
script before launch. This has worked fine for a couple years now, but no
longer works and I'm not sure exactly which build the problem began.


OS Information
  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.19.0-29-generic
  Pretty Productname: Ubuntu 22.10
  Product Type: ubuntu
  Product Version: 22.10


OpenGL Info
  Vendor:  "NVIDIA Corporation" 
  Renderer:  "NVIDIA GeForce RTX 4090/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 525.60.11" 
  Shading language:  "4.60 NVIDIA" 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
  Current format:  QSurfaceFormat(version 4.6, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: true 
  forceDisableTextureBuffers: false

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to