1. create a screenshot of something 2. paste it into libreoffice writer For me the lowest pixel line always has a black line for some reason. Specified App: spectacle-23.08.1-1.fc39.x86_64 --- Software --- OS: Fedora Linux 39 (Kinoite) KDE Plasma: 5.27.8 KDE Frameworks: 5.110.0 Qt: 5.15.10 Kernel: 6.5.6-300.fc39.x86_64 Compositor: wayland --- Hardware --- CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx RAM: 21.4 GB GPU: AMD Radeon Vega 8 Graphics Video memory: 2048MB
Created attachment 163344 [details] Copied screenshot to Libreoffice and exported from there This is not happening when saving the screenshot and then copying the file to Libreoffice. Very weird.
The screenshot you posted is entirely white for me. Did you mean to send a different picture?
weird... So its like that, that if a screenshot is pasted from spectacle directly into writer there is a black 1px line at the bottom. I exported that image from writer and uploaded. This was not the case when the screenshot was saved and then imported into libreoffice writer. Maybe this was some sort of rendering issue? It was still there when not focussing the image and all...
(In reply to Henning from comment #3) > weird... > > So its like that, that if a screenshot is pasted from spectacle directly > into writer there is a black 1px line at the bottom. > > I exported that image from writer and uploaded. > > This was not the case when the screenshot was saved and then imported into > libreoffice writer. > > Maybe this was some sort of rendering issue? It was still there when not > focussing the image and all... It's not impossible that there might be a 1px thick transparent line if you are using a fractional scale factor. A transparent line might be treated as a black line in situations where transparency isn't supported.
I guess Plasma 6 with the new fractional scaling (its ready, isnt it?) will fix this then. I am curious what you think of "stable Distros" though, as these will have the same issues for years
(In reply to Henning from comment #5) > I guess Plasma 6 with the new fractional scaling (its ready, isnt it?) will fix this then. Not necessarily. Are you having the problem with all types of screenshots or just some types? I see you are on Wayland. On Wayland, the images you get are coming directly from KWin and then being edited by Spectacle when annotating or doing region selection. If you are getting this problem with the all screens, current screen or window capture modes, then the problem is coming from KWin and may or may not be fixable. If the problem is only with region capture, then there is a chance that a size calculation is being done incorrectly in spectacle. On the other hand, screen size is often scaled and then rounded to integers by the APIs used to get screen sizes, even on Wayland. This results in a loss of precision and there's not much I can do about that. If the bug is caused by the loss in precision, then I might not be able to fix it. > I am curious what you think of "stable Distros" though, as these will have the same issues for years It's just how it is, same as it ever was.
so this happened with a "choose a rectangle" screenshot.