Public bug reported:

* 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

** Affects: xfwm4 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  * 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 : 
+ What I expected :
  Classic maximizing with window tiled to deskbar.
  
- (*) The screen is in 3840x2106. I have this in my $HOME/.sessionrc  :
+ (*) 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1806902

Title:
  incorrect window maximizing in HiDPI  and double scaling mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1806902/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to