You are not logged in.
I am using qmapshack for years now and i try to help with testing the porting to QT6. During the testing a strange behavior arises which appears apparently only on my machine. It's about changing a waypoint icon. The corresponding window to choose an icon from on my machine contains only a single column, whereas on other machines the icons are presented in multiple columns. The single column layout on my machine appears also with the official version, so this is not a QT6 problem, imho. Beside of the difference of the columns, i could scroll the single column with the official version of QMapShack, but not with the QT6 branch of QMapShack. But this is probably another issue and if my machine would show the icons in multiple columns, scrolling wouldn't be needed at all.
See how it looks like on my machine, and how it looks like on other machines.
Any ideas why my machine has this issue?
KDE Frameworks 6.8.0
X11
$:> xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+ 50.00 59.94
1680x1050 59.88
[...]
What i have tried so far:
* used a clean qmapshack config folder by renaming the folder ~/.config/QLandkarte
* added some code to the sources of QMapShack to get information about what QT thinks my screen size is, but it says also 1080 Pixel.
* disabled composition
* changed the visibility of the control panel
Offline
There's been a bug with some list implementations in the initial Qt 6.8 release so could be some relation to that (though that mostly affected QtQuick and this doesn't look like a QtQuick widget), alternatively do you set some scaling parameters?
printenv | grep QT
Last edited by V1del (2024-11-15 11:09:52)
Offline
No scaling, imho:
$:> printenv | grep QT
QT_AUTO_SCREEN_SCALE_FACTOR=0
Offline
Seems to be a kwin issue. What i have done:
1. installed openbox
2. opened another virtual console by pressing CTRL+ALT+F3
3. after logging in run
startx /usr/bin/openbox
4. opened a terminal from the context menu
5. run
qmapshack
Trying to change a waypoint symbol now shows the multicolumn layout
Another test using QtCreator shows that the initial value of the property sizeHint of QtWidget will be different:
* with kwin sizeHint will be initial (3,3)
* with openbox sizeHint will be initial (-1, -1), which is an invalid size and indicates that no layout is set for this widget. This can be confirmed when trying to get the layout for the widget, which returns 0x0 for both window managers, kwin and openbox.
Not sure if this is a bug of kwin or QT.
Is it worth to create a bug report against kwin? Or Qt? I fear this will be one those bugs where each component says it's the culprit of the other component and vice versa
Offline