Bug 460507 - Stellarium scales wrong on start, but scales correctly when changing the scaling in kscreen while it runs
Summary: Stellarium scales wrong on start, but scales correctly when changing the scal...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.26.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-15 21:34 UTC by postix
Modified: 2022-10-17 07:59 UTC (History)
0 users

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


Attachments
Screenshot (1.09 MB, image/jpeg)
2022-10-15 21:35 UTC, postix
Details
kWin Support Info (7.19 KB, text/plain)
2022-10-15 21:36 UTC, postix
Details
Stellarium log output on start (10.21 KB, text/plain)
2022-10-15 21:38 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-10-15 21:34:33 UTC
SUMMARY

I am not sure if this is an issue of Stellarium, kWin or Qt.

STEPS TO REPRODUCE
1.  Two screens, 4k@200% primary and 2k@100%
2.  Open Stellarium 1.0 on the primary screen

OBSERVED RESULT
Stellarium's window is displayed in the upper left quarter of the primary display.

While Stellarium is running, changing the scaling of the secondary screen to 200%, makes Stellarium become fullscreen on the primary.

Closing Stellarium and re-opening it again (using 200% scaling on each screens) results in the same issue: Stellarium again appears only in the upper left quarter. Changing the scaling of the secondary screen now back to 100%, "fixes" the issue again.

It works fine if there's only a single screen enabled.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221014
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.1-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Stellarium 1.0
Comment 1 postix 2022-10-15 21:35:55 UTC
Created attachment 152869 [details]
Screenshot
Comment 2 postix 2022-10-15 21:36:09 UTC
Created attachment 152870 [details]
kWin Support Info
Comment 3 postix 2022-10-15 21:38:51 UTC
Created attachment 152871 [details]
Stellarium log output on start
Comment 4 postix 2022-10-15 21:44:30 UTC
I just noticed that this issue is indeed also present in case of a single monitor setup, where the primary screen scales with 200%.
Starting Stellarium displayes is in the upper left corner. Changing then the scaling in kscreen, magically makes the issue go away, until Stellarium restarted again.
Comment 5 Vlad Zahorodnii 2022-10-17 07:59:14 UTC
Please report this issue to stellarium developers.