incorrect window maximizing in HiDPI and double scaling mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfwm4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Xubuntu 18.10
* HiDPI mode + 2x scaling (*)
* Xubuntu native Deskbar on the left of screen
* xfwm4 version 4.12.5-1ubuntu1
What I got :
When I maximize a window, the window is "overlapping" under the deskbar, not tiling next to it.
Precisely : half width of the deskbar is used by the window for overlapping.
What I expected :
Classic maximizing with window tiled to deskbar.
(*) The screen is in 3840x2160. I have this in my $HOME/.sessionrc :
# Target DPI
dpi=192
# For applications supporting XSettings, `Xft/DPI' sets font scaling
# (and sometimes interface scaling), `Gdk/WindowScal
# interface scaling with GTK 3, and `Gdk/UnscaledDPI' undo font scaling
# for GTK 3 applications.
> ~/.xsettingsd cat <<EOF
Xft/DPI $(( $dpi*1024 ))
Gdk/WindowScali
Gdk/UnscaledDPI $(( $dpi*1024/($dpi/96) ))
EOF
pkill -HUP xsettingsd || xsettingsd &
# For QT applications.
export QT_AUTO_
# For miscellaneous applications.
echo Xft.dpi: $dpi | xrdb -merge
Please test with xfwm 4.13.x from the Xubuntu QA Experimental PPA:
https:/ /launchpad. net/~xubuntu- dev/+archive/ ubuntu/ experimental
If the new version does not fix the bug, I suggest that you forward it to the Xfce bug tracker.
https:/ /bugzilla. xfce.org/