All of lore.kernel.org
 help / color / mirror / Atom feed
* GTK+, disabled XKB a.k.a. why keymaps/ModeSwitch don't work well in GPE or XFCE
@ 2010-01-12 23:01 Stanislav Brabec
  2010-01-13  8:25 ` Koen Kooi
  2010-01-13 19:57 ` Phil Blundell
  0 siblings, 2 replies; 3+ messages in thread
From: Stanislav Brabec @ 2010-01-12 23:01 UTC (permalink / raw)
  To: openembedded-devel

Hallo.

We just spent some time by debugging of an annoying bug - broken
Mode_Switch key in GPE and XFCE.

Surprisingly, the problem affects only GTK+ applications and it is
caused by --disable-xkb configure options in OE gtk+ recipes(*).

It
- made impossible to upgrade to the new version of kdrive on Zaurus
- now makes impossible to upgrade to Xorg on Zaurus
- causes keyboard breakage on Always Innovating Touch Book.
  http://bugzilla.alwaysinnovating.com/show_bug.cgi?id=41

So there is a question: Why XKB is disabled in OE GTK+? Does it have any
reason or it is a relict from the ancient age of kdrive based
systems(**)? If it is true, I propose a patch to remove --disable-xkb
not only from gtk+, but also all xorg-app and xorg-lib, or at least move
this option to distribution configuration.

Distributions that want to stay with XKB disabled probably want to use
xserver-kdrive <= 1.3.0.0. (Well, maybe newer kdrives can disable xkb as
well, but it caused strange problems on device with keyboard (keyboard
map required more tries before its loading succeeded, broken Mode_Switch
etc.).)

(*) Yes, it seems that there is either a bug while XKB-incapable GTK+
runs on XKB-capable X server, or there is a problem of combination of
XKB capable and incapable libraries, but it should not affect the
decision.

(**) If there is a demand, it is still possible to create gtk
+-xkb-less_*.bb recipes and build both variants.


________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GTK+, disabled XKB a.k.a. why keymaps/ModeSwitch don't work well in GPE or XFCE
  2010-01-12 23:01 GTK+, disabled XKB a.k.a. why keymaps/ModeSwitch don't work well in GPE or XFCE Stanislav Brabec
@ 2010-01-13  8:25 ` Koen Kooi
  2010-01-13 19:57 ` Phil Blundell
  1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2010-01-13  8:25 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13-01-10 00:01, Stanislav Brabec wrote:
> Hallo.
> 
> We just spent some time by debugging of an annoying bug - broken
> Mode_Switch key in GPE and XFCE.
> 
> Surprisingly, the problem affects only GTK+ applications and it is
> caused by --disable-xkb configure options in OE gtk+ recipes(*).
> 
> It
> - made impossible to upgrade to the new version of kdrive on Zaurus
> - now makes impossible to upgrade to Xorg on Zaurus
> - causes keyboard breakage on Always Innovating Touch Book.
>   http://bugzilla.alwaysinnovating.com/show_bug.cgi?id=41
> 
> So there is a question: Why XKB is disabled in OE GTK+? Does it have any
> reason or it is a relict from the ancient age of kdrive based
> systems(**)? If it is true, I propose a patch to remove --disable-xkb
> not only from gtk+, but also all xorg-app and xorg-lib,

I vote for this option.

> or at least move
> this option to distribution configuration.

I think we can put that burden on xkb haters (if they exist).

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLTYOJMkyGM64RGpERAij5AKCiFh6ugEWa2s9OuaJTQok9EDg6IwCeK6aW
OuAdysqxQeP0SZxLFcbDMxw=
=Sqtj
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GTK+, disabled XKB a.k.a. why keymaps/ModeSwitch don't work well in GPE or XFCE
  2010-01-12 23:01 GTK+, disabled XKB a.k.a. why keymaps/ModeSwitch don't work well in GPE or XFCE Stanislav Brabec
  2010-01-13  8:25 ` Koen Kooi
@ 2010-01-13 19:57 ` Phil Blundell
  1 sibling, 0 replies; 3+ messages in thread
From: Phil Blundell @ 2010-01-13 19:57 UTC (permalink / raw)
  To: openembedded-devel

On Wed, 2010-01-13 at 00:01 +0100, Stanislav Brabec wrote:
> So there is a question: Why XKB is disabled in OE GTK+? Does it have any
> reason or it is a relict from the ancient age of kdrive based
> systems(**)? If it is true, I propose a patch to remove --disable-xkb
> not only from gtk+, but also all xorg-app and xorg-lib, or at least move
> this option to distribution configuration.

It probably is just a relic for the most part.  I think the original
reason for turning it off was that the majority of the platforms which
the contemporary distros were targetting at that time had (a) no
keyboards, or only rudimentary ones; and (b) very little flash space, so
the few kilobytes that could be saved by leaving out XKB support were
significant.

So, yes, making XKB support be a DISTRO_FEATURE sounds like a fine idea
to me.

p.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-13 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 23:01 GTK+, disabled XKB a.k.a. why keymaps/ModeSwitch don't work well in GPE or XFCE Stanislav Brabec
2010-01-13  8:25 ` Koen Kooi
2010-01-13 19:57 ` Phil Blundell

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.