** Attachment added: "gcc -o plug plug.c -O0 -g `pkg-config --cflags --libs 
gtk+-3.0`"
   
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1572331/+attachment/4640243/+files/plug.c

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1572331

Title:
  GtkPlug scaled to half the expected size on HiDPI screens

Status in gtk+3.0 package in Ubuntu:
  New

Bug description:
  See attached screen shot. Blue is a GtkPlug, black is a GtkSocket.
  Source code below.

  What I expect to happen is that the GtkPlug has the same size as the 
GtkSocket.
  What actually happens is that GtkPlug only covers a quarter of the area of 
the GtkSocket.

  Impact: Onboard on HiDPI displays is near unusable at login and lock
  screen, aka unity-greeter and gnome-screensaver. Original bug report
  here: https://bugs.launchpad.net/bugs/1562734.

  Steps to reproduce:
  - build plug and socket samples from below
  - set display scaling factor to 2
    System Settings -> Display -> Scale for menu and title bars = 2
  - run  ./socket $(head -1 <(./plug))
  -> blue GtkPlug is too small, it should cover all the black

  - resize the window
  -> at smaller sizes the scaling suddenly corrects itself, at larger ones it's 
wrong again

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: libgtk-3-0 3.18.9-1ubuntu3
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Apr 20 01:48:50 2016
  SourcePackage: gtk+3.0
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1572331/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to