[plasmashell] [Bug 489311] Round UI elements of widgets render incorrectly with fractional scaling factor

2024-06-27 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=489311

--- Comment #4 from Marco Martin  ---
seems QSvgRenderer::boundsOnElement() might me not as precise as needed,
especially that in the end we need to render it on a qpixmap which in the end
has of course an integer width and height.

if we do a round on the size, we might end up with some of the antialiasing of
the curve cut off, but if we always ceil() the size, then the edges of the
curve are correctly rendered, but then there might be unwanted almost
transparent pixels around images, for instance square ones that we want to tile
(like framesvg center elements) will not tile cleanly anymore

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

[plasmashell] [Bug 489311] Round UI elements of widgets render incorrectly with fractional scaling factor

2024-06-27 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=489311

Marco Martin  changed:

   What|Removed |Added

 CC||notm...@gmail.com

--- Comment #3 from Marco Martin  ---
while here seems to happen much less on 125% as well, i see it here and there,
i think is possibly a ksvg (svgitem perhaps) issue where the final texture is
just a tad too small for the final rendering

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

[plasmashell] [Bug 489311] Round UI elements of widgets render incorrectly with fractional scaling factor

2024-06-27 Thread Pavel Dobiáš
https://bugs.kde.org/show_bug.cgi?id=489311

Pavel Dobiáš  changed:

   What|Removed |Added

 CC||pavel23...@proton.me

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

[plasmashell] [Bug 489311] Round UI elements of widgets render incorrectly with fractional scaling factor

2024-06-27 Thread Pavel Dobiáš
https://bugs.kde.org/show_bug.cgi?id=489311

--- Comment #2 from Pavel Dobiáš  ---
Created attachment 171087
  --> https://bugs.kde.org/attachment.cgi?id=171087=edit
Bluetooth - Panel Widget

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

[plasmashell] [Bug 489311] Round UI elements of widgets render incorrectly with fractional scaling factor

2024-06-27 Thread Pavel Dobiáš
https://bugs.kde.org/show_bug.cgi?id=489311

--- Comment #1 from Pavel Dobiáš  ---
Created attachment 171086
  --> https://bugs.kde.org/attachment.cgi?id=171086=edit
Audio Volume - Panel Widget

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

[plasmashell] [Bug 489311] Round UI elements of widgets render incorrectly with fractional scaling factor

2024-06-27 Thread Pavel Dobiáš
https://bugs.kde.org/show_bug.cgi?id=489311

Pavel Dobiáš  changed:

   What|Removed |Added

Summary|Round UI elements of|Round UI elements of
   |applets render incorrectly  |widgets render incorrectly
   |with fractional scaling |with fractional scaling
   |factor  |factor

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