Bug 461401 - rectangle tools draw 1 pixel more to the right and down than the selection preview
Summary: rectangle tools draw 1 pixel more to the right and down than the selection pr...
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: 5.1.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-04 08:04 UTC by badrainbow
Modified: 2023-01-11 20:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
1 more on right and bottom (14.11 KB, image/png)
2022-11-04 08:04 UTC, badrainbow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description badrainbow 2022-11-04 08:04:38 UTC
Created attachment 153450 [details]
1 more on right and bottom

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Draw rectangle
2. See preview

OBSERVED RESULT
rect on preview

EXPECTED RESULT
rect out of range preview

SOFTWARE/OS VERSIONS
Windows: 11, 10, 7


ADDITIONAL INFORMATION
Comment 1 wolthera 2023-01-11 20:17:10 UTC
This only happens if you also have "outline" set to "brush" (or "brush (background color)". At 1 pixel we have to choose a side. I'm afraid that there's no actual bug here but merely a compromise.