KDE/Gnome inconsistency in associations
Matthias Clasen
mclasen at redhat.com
Sat Jan 7 00:01:10 EET 2006
On Fri, 2006-01-06 at 13:34 -0500, Rodney Dawes wrote:
> If you replace the & with an underscore _ character, do you get the
> exact opposite problem, and the accelerator is set in GNOME? If so,
> I'd say they are both broken. The problem is that in GTK+, _ is used
> to specify an accelerator, and in QT, a & is used. So, when you
> create a menu item with the special character, it gets misinterpreted.
>
> This is really a per-toolkit problem, I suspect. If the special
> character were ^, the same problem would presumably still exist, were
> you to put it in the name string. I would test that GNOME isn't broken
> when using _ also though, first.
>
> If so, you need to file bugs against both menu implementations, I
> suppose. Perhaps the spec also needs to say that the strings need to
> be escaped somehow.
>
I'd say its a bug to do any special interpretation of this string, if
it is not specified in the spec. Thus I don't see what a bug against
the gnome implementation would complain about.
Matthias
More information about the xdg
mailing list