incorrect window maximizing in HiDPI and double scaling mode

Bug #1806902 reported by Saroumane on 2018-12-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfwm4 (Ubuntu)
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/WindowScalingFactor' sets
# interface scaling with GTK 3, and `Gdk/UnscaledDPI' undo font scaling
# for GTK 3 applications.
> ~/.xsettingsd cat <<EOF
Xft/DPI $(( $dpi*1024 ))
Gdk/WindowScalingFactor $(( $dpi/96 ))
Gdk/UnscaledDPI $(( $dpi*1024/($dpi/96) ))
EOF
pkill -HUP xsettingsd || xsettingsd &

# For QT applications.
export QT_AUTO_SCREEN_SCALE_FACTOR=1

# For miscellaneous applications.
echo Xft.dpi: $dpi | xrdb -merge

Saroumane (saroumane) on 2018-12-05
description: updated

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/

Saroumane (saroumane) wrote :

I installed xfwm4 version 4.13.1-1~18.10 with the PPA you provided, then I rebooted.
The behavior is much worse : when I maximize, the window fill only 1/4 of the screen. (top-left quarter of screen) (and still overlaps behind deskbar :)
XFCE is considered upstream source ?

Yes, the source code is maintained by the upstream developers.

Maybe related (this fix will be available in 4.13.2):
https://bugzilla.xfce.org/show_bug.cgi?id=14566

Saroumane (saroumane) wrote :

Ok thanks for the clarification.
I thought xfwm was a separate project.

In fact Xfce is not really ready for HiDPI, there are too many unsightly things. So I switched my desktop environment to Budgie.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.