! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Only fourth of the screen shown with windows scaling 2x
Status:
RESOLVED: MOVED

Comments

Description Paul Menzel 2018-07-30 11:05:03 CEST
Created attachment 7850 
Screen shot

Using Xfwm 4.13.1 only the top left fourth of a screen is shown when window scaling is set to *2x* under *Appearances*. This is a regression from 4.13.0. The mouse cannot be moved out of the area.
Comment 1 Andre Miranda editbugs 2018-07-30 23:10:23 CEST
I found this problem when using GDK_SCALE=2 in /etc/environment. Even with xfwm 4.12 that option did not work as expected to me (not xfwm's fault), xrandr --scale is better to me.
Comment 2 Olivier Fourdan editbugs 2018-07-31 11:23:08 CEST
Yes this is a regression in xfwm4 4.13.

xfwm4 4.13 implements xfwm_get_monitor_geometry() in a small helper library which in turn calls gdk_monitor_get_geometry() which gives the monitor geometry  in  _application pixels_, not _device pixels_, i.e. the scaled is applied.
Comment 3 Git Bot editbugs 2018-07-31 11:31:04 CEST
Olivier Fourdan referenced this bugreport in commit be929b2ad13a9a8ccd94ca3041b1af9d287b4a8f

common: Convert monitor geometry to device geometry

https://git.xfce.org/xfce/xfwm4/commit?id=be929b2ad13a9a8ccd94ca3041b1af9d287b4a8f
Comment 4 Paul Menzel 2018-07-31 11:41:56 CEST
Awesome, the problem is fixed in the current master branch. Thank you.
Comment 5 Olivier Fourdan editbugs 2018-07-31 13:56:24 CEST
Humm, that code in xfwm-common.c is full of bugs...
Comment 6 Paul Menzel 2018-07-31 13:57:18 CEST
Maybe use a new bug report to track this?
Comment 7 Git Bot editbugs 2020-05-29 12:21:54 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/295.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14566

Reported by:
Paul Menzel
Reported on: 2018-07-30
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
unspecified

Attachments

Screen shot (241.05 KB, image/png)
2018-07-30 11:05 CEST , Paul Menzel
no flags

Additional information