GNOME Bugzilla – Bug 700737
[wayland] gdk_screen_get_height() returns wrong value
Last modified: 2013-06-12 16:56:46 UTC
gdk_screen_get_height(...) actually returns the "width" (i.e. the same as gdk_screen_get_width(...)). This only happens on the wayland gdk backend. wayland (master) heads/master-0-g508dd69 fontconfig (master) heads/master-0-g0f9aa87 drm (master) heads/master-0-gacfbf39 mesa (master) heads/master-0-g4f518e1 libxkbcommon (master) heads/master-0-ga392d26 pixman (master) heads/master-0-gcb5d131 cairo (master) heads/master-0-g631bf29 weston (master) heads/master-0-gd4409a9 harfbuzz (master) heads/master-0-gfa3d0a0 glib (master) heads/master-0-gad7959c atk (master) heads/master-0-gc71edfa gdk-pixbuf (master) heads/master-0-gf4ce83a pango (master) heads/master-0-g49712d6 at-spi2-core (master) heads/master-0-ge2661ee at-spi2-atk (master) heads/master-0-g031946b gtk+ (master) heads/master-0-g669d1d6
https://git.gnome.org/browse/gtk+/commit/?id=3beeb2cda024bd66ec95a795eefd393f58f74a68
(In reply to comment #1) > https://git.gnome.org/browse/gtk+/commit/?id=3beeb2cda024bd66ec95a795eefd393f58f74a68 Can we backport this patch to 3.8 stable release branch?
Do you see this problem on 3.8? That code was only added afterwards...
(In reply to comment #3) > Do you see this problem on 3.8? That code was only added afterwards... Oops, you're right... the patch would not make sense on 3.8. 3.8 behaves totally different than the initial report eluded to. The gdk_screen_get_height/width() methods both return 8192 on 3.8 and are both incorrect (unimplemented for Wayland). I'm impartial, then, about making it work on 3.8 since Gtk+ Wayland backend is still classified as unstable.