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

            Bug ID: 416833
           Summary: Select shapes tool geometry input fields not properly
                    handling decimal values
           Product: krita
           Version: git master
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Vector
          Assignee: krita-bugs-n...@kde.org
          Reporter: griffin-barr...@outlook.com
  Target Milestone: ---

Created attachment 125469
  --> https://bugs.kde.org/attachment.cgi?id=125469&action=edit
example reproduction of bug

SUMMARY

When you specify a position or size with decimal values of pixels, the shape is
rendered correctly, but the tool used for displaying the position/size rounds
to an integer value


STEPS TO REPRODUCE
1. Set snapping to pixels
2. On a vector layer, create a rectangle with a 1 pixel stroke
3. Notice the blur 
4. select shapes tool -> tool options -> X = [old value].5 px
5. X should now show ether [old value] or [old value+1] and the blur is gone

OBSERVED RESULT

Decimal position and size values are respected by display but not by the input
fields.

EXPECTED RESULT

Either the display also rounds the value or
the input displays the correct value (referred)

ADDITIONAL INFORMATION

Krita

 Version: 4.3.0-prealpha (git 7b6c721)
 Languages: en_CA, en, en, en_CA, en
 Hidpi: true

Qt

  Version (compiled): 5.12.5
  Version (loaded): 5.12.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.4.0-2-amd64
  Pretty Productname: Debian GNU/Linux bullseye/sid
  Product Type: debian
  Product Version: unknown

OpenGL Info

  Vendor:  "Intel Open Source Technology Center" 
  Renderer:  "Mesa DRI Intel(R) Haswell Mobile " 
  Version:  "3.0 Mesa 19.2.6" 
  Shading language:  "1.30" 
  Requested format:  QSurfaceFormat(version 2.0, options
QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1,
greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize
-1, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval
1, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::NoProfile) 
  Current format:    QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 0,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0,
stencilBufferSize 0, samples -1, swapBehavior
QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace
QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
     Version: 3.0
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 

Hardware Information

  GPU Acceleration: none
  Memory: 31800 Mb
  Number of Cores: 8
  Swap Location: /tmp

Current Settings

  Current Swap Location: /tmp
  Undo Enabled: 1
  Undo Stack Limit: 30
  Use OpenGL: 0
  Use OpenGL Texture Buffer: 1
  Use AMD Vectorization Workaround: 0
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  Use Backup Files: 1
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Use Win8 Pointer Input: 0
  Use RightMiddleTabletButton Workaround: 0
  Levels of Detail Enabled: 0
  Use Zip64: 0


Display Information
Number of screens: 1
        Screen: 0
                Name: eDP-1
                Depth: 24
                Scale: 1
                Resolution in pixels: 1920x1080
                Manufacturer: AU Optronics
                Model: 
                Refresh Rate: 60

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

Reply via email to