[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Platform independent graphical display for Emacs
From: |
Po Lu |
Subject: |
Re: Platform independent graphical display for Emacs |
Date: |
Fri, 24 Dec 2021 21:09:09 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
xenodasein--- via "Emacs development discussions." <emacs-devel@gnu.org>
writes:
> I grepped a bit, and there many conditional modifications to frame
> related functions through #ifdef USE_GTK. This doesn't bode well for
> a cross-platform frame logic, IMO. Is this what you referred to as
> problematic?
That's only the tip of the iceberg, but is completely unrelated to event
handling, where the relevant conditional is `HAVE_GLIB'.
The problem could be easily resolved if the GTK+ developers actually
paid attention to our reasonable requests, but they refuse to do so
because Emacs is, in their opinion, not a well-behaved program.
Case in point: the nearly 20-year old GTK bug where GTK aborts when a
display is closed. We used to longjmp out, but that used to cause GLib
to emit a large amount of warnings, so that workaround was turned off,
and doesn't work nowadays either.
Another case in point: try resizing or creating a frame on a GTK build
that is smaller than its menu bar, see what GTK does to it, and compare
that behaviour (which cannot be turned off, at least when I tried) to
the behaviour under an Xt or no-toolkit build.
Then of course, there are the many other instances where the GTK
developers refused to implement a basic feature, such as the ability to
adjust the thumb size of a scrollbar, because they did not think it fit
with their idea of how a program should behave appearance-wise.
- Re: Platform independent graphical display for Emacs, (continued)
- Re: Platform independent graphical display for Emacs, Stephen Berman, 2021/12/24
- Re: Platform independent graphical display for Emacs, xenodasein, 2021/12/24
- Re: Platform independent graphical display for Emacs, Po Lu, 2021/12/24
- Re: Platform independent graphical display for Emacs, xenodasein, 2021/12/24
- Re: Platform independent graphical display for Emacs, Po Lu, 2021/12/24
- Re: Platform independent graphical display for Emacs, xenodasein, 2021/12/24
- Re: Platform independent graphical display for Emacs, Po Lu, 2021/12/24
- Re: Platform independent graphical display for Emacs, xenodasein, 2021/12/24
- Re: Platform independent graphical display for Emacs, Po Lu, 2021/12/24
- Re: Platform independent graphical display for Emacs, xenodasein, 2021/12/24
- Re: Platform independent graphical display for Emacs,
Po Lu <=
- Re: Platform independent graphical display for Emacs, xenodasein, 2021/12/24
- Re: Platform independent graphical display for Emacs, martin rudalics, 2021/12/24
- Re: Platform independent graphical display for Emacs, Po Lu, 2021/12/24
- Re: Platform independent graphical display for Emacs, martin rudalics, 2021/12/25
- Re: Platform independent graphical display for Emacs, Po Lu, 2021/12/25
- Re: Platform independent graphical display for Emacs, martin rudalics, 2021/12/26
- Re: Platform independent graphical display for Emacs, Po Lu, 2021/12/26
- Re: Platform independent graphical display for Emacs, Óscar Fuentes, 2021/12/24
- Re: Platform independent graphical display for Emacs, Eli Zaretskii, 2021/12/24
- Re: Platform independent graphical display for Emacs, Óscar Fuentes, 2021/12/24