all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Felix E. Klee" <felix.klee@inka.de>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 20432-done@debbugs.gnu.org
Subject: bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar
Date: Thu, 14 May 2015 12:59:36 +0100	[thread overview]
Message-ID: <CA+m_8J3aF2Gm2mrRXDaK6t6oRQaNgPGyWGfCkw+7emYRN2OenQ@mail.gmail.com> (raw)
In-Reply-To: <5554883A.9060501@swipnet.se>

On Thu, May 14, 2015 at 12:34 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:
> This GTK feature is very poorly designed.

HiDPI scaling works beautifully in various other GTK+ 3 applications.

> We can not support it correctly, as we don't use Gtk+ exclusively.

Thanks for the explanation.

> Also, the Gtk+ code blindly multiplies anything with GTK_SCALE. So for
> example, given GTK_SCALE=2, if we have font size 15, it becomes 30.

That is what `GDK_DPI_SCALE` is for. Example:

    export GDK_SCALE=2
    export GDK_DPI_SCALE=0.5

> So there will be glitches, live with it.

It’s not for me. I set up a HiDPI machine for a friend who’s turning
eighty this year. While he has great vision given his age, some UI
elements are just too small without scaling. They are barely visible.

This is a big issue, not something that should be ignored. Get access to
a HiDPI screen, and you’ll see what I mean.

> But at least we draw things correctly in the trunk now.

Great!





  reply	other threads:[~2015-05-14 11:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-26 10:01 bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar Felix E. Klee
2015-04-26 21:10 ` bug#20432: Further information (plus 1/2 workaround) Felix E. Klee
2015-05-14 11:34 ` bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar Jan Djärv
2015-05-14 11:59   ` Felix E. Klee [this message]
2015-05-14 12:33     ` Jan Djärv
2015-05-14 12:46       ` Felix E. Klee
2015-05-14 13:13         ` Jan Djärv
2015-05-14 14:04           ` Felix E. Klee
2015-05-14 16:38 ` Paul Eggert
2015-05-14 17:57   ` Jan D.
2015-05-15  2:59     ` Paul Eggert
2015-05-15  7:01       ` Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+m_8J3aF2Gm2mrRXDaK6t6oRQaNgPGyWGfCkw+7emYRN2OenQ@mail.gmail.com \
    --to=felix.klee@inka.de \
    --cc=20432-done@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.