MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.53k stars 286 forks source link

SSR logo looks fuzzy when fractional display scaling is used on KDE Plasma desktop environment #699

Open glaubersm opened 5 years ago

glaubersm commented 5 years ago

Hi

Steps to reproduce:

  1. use any distribution with KDE Plasma desktop environment
  2. start Plasma X11 session
  3. Set 1.2 as display scaling factor in system settings > display and monitor and restart plasma session
  4. open SSR Result: As we can see in my screenshot, SSR logo looks fuzzy.

My system: SSR-git from AUR Operating System: Arch Linux KDE Plasma Version: 5.15.2 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1

simplescreenrecorder

MaartenBaert commented 5 years ago

I can't really solve this, Qt does not properly support scale factors that are fractional numbers. You will get much better results by changing the system font DPI setting.

glaubersm commented 5 years ago

Hi Maarten Several KDE software had pixelated icons with fractional display scaling and such issues were solved. Here is an example

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

Is the issue with SSR logo related or it's a different issue?

MaartenBaert commented 5 years ago

SSR already sets Qt::AA_UseHighDpiPixmaps in the latest version. Are you using the latest version from the master branch?

The problem is that the recording aspect of SSR is also affected by the scale factor, and this will likely cause problems with selecting the recording area, the screen resolution, and possibly the preview window. Those are much harder to fix.

glaubersm commented 5 years ago

I installed SSR-git from AUR repository. i do not know if it's master or not.

The problem with recording area is no longer happening after I install ssr-git. SSR from Arch repos has such problem.

MaartenBaert commented 5 years ago

I have tried to make some improvements, the logo now uses higher quality scaling (but is still somewhat blurry which is unavoidable), and the video and audio previewer look a bit better. There are still many minor graphical artifacts that I can't really fix, e.g. the previewed image is slightly distorted due to rounding errors, so I would still recommend changing the font DPI instead if possible.