Bug#1031975: kodi: Windowed kodi takes wrong size when run under KDE Plasma Wayland with fractional scaling

2023-07-13 Thread Mark Cookson
In case anyone else encounters this problem, a workaround is to run:
 kodi --windowing=x11

which will bypass any problems with scaling under Wayland


Bug#1031975: Re: Bug#1031975: kodi: Windowed kodi takes wrong size when run under KDE Plasma Wayland with fractional scaling

2023-07-11 Thread Mark Cookson
Hi Vasyl,

I thought I'd replied to your question, but yes the resolution doubles on
each run. On a fresh install of Bookworm, this is the changes after 1.
Opening and closing Kodi 2. Opening Kodi and pushing '\' to make it
windowed 3. 4. and 5. Opening and closing windowed Kodi.

diff guisettings.xml.1 guisettings.xml.2after2runsandmakingwindowed
294,296c294,296
< 0
< 16
< DESKTOP
---
> -1
> 15
> WINDOW


diff guisettings.xml.2after2runsandmakingwindowed guisettings.xml.3
40,41c40,41
< 720
< 480
---
> 1440
> 960

diff guisettings.xml.3 guisettings.xml.4
40,41c40,41
< 1440
< 960
---
> 2880
> 1920

diff guisettings.xml.4 guisettings.xml.5
40,41c40,41
< 2880
< 1920
---
> 5760
> 3840

Mark Cookson