Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158265 - x11-terms/xterm-2.2.3 freezes on ctrl+click
Summary: x11-terms/xterm-2.2.3 freezes on ctrl+click
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-16 01:34 UTC by Dan K.
Modified: 2009-05-05 17:16 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan K. 2006-12-16 01:34:56 UTC
I am using xterm 223. Attempting to access xterm main settings with ctrl+left_click will cause xterm to hang for a few seconds and no settings menu will appear. Doing ctrl+left_click again will bring up the main settings menu.

Bug 113592 states that this is fixed but the problem is still happening for me. 

Problem has started happening after switching to unicode locale.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-16 01:49:02 UTC
We really can't do anything about this, not a Gentoo issue, and not much of an xterm issue as well... Also it doesn't really freeze, just press Ctrl and *hold* the mouse button until the menu actually appears, it takes some time.

It would need to be fixed in x11-libs/libXaw, so this should be marked UPSTREAM.
Comment 2 Dan K. 2006-12-17 14:11:47 UTC
(In reply to comment #1)
> We really can't do anything about this, not a Gentoo issue, and not much of an
> xterm issue as well... Also it doesn't really freeze, just press Ctrl and
> *hold* the mouse button until the menu actually appears, it takes some time.
> 
> It would need to be fixed in x11-libs/libXaw, so this should be marked
> UPSTREAM.
> 

It does freeze for me. In fact, all of X seems to freeze. I can't change virtual desktops, open new programs, or perform any basic operations. CPU usage spikes to 100%.

Holding the mouse button doesn't seem to make a difference. 
Comment 3 Thomas Dickey 2007-01-09 20:45:42 UTC
Someone suggested that I force the menus to initialize in
a POSIX locale.  It's on my to-do list to implement as
an optional feature.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2007-01-13 00:08:51 UTC
(In reply to comment #3)
> Someone suggested that I force the menus to initialize in
> a POSIX locale.  It's on my to-do list to implement as
> an optional feature.
> 

It's not clear to me whether that would fix the issue above.  Would it?
Comment 5 Thomas Dickey 2007-01-13 12:35:48 UTC
It might fix it (something in that area - I would have thought it
was the choice of fonts, but some comments I've seen indicate it
may be up a level, in how the characters are laid out with respect
to the locale setting).  It wouldn't fix it for cases where the
menu labels are localized, but assuming no bad side effects crop
up, would be useful for people who use the default menu labels
which are all in 7-bit ASCII.
Comment 6 Thomas Dickey 2007-02-25 01:06:40 UTC
I added that (menuLocale resource) in #224.
This is not a performance issue on my boxes, but
tracing through the X code, I can see that in a UTF-8 locale,
the Xaw code (because of some side-effect of the pixmap support!)
is loading a font-set which covers all of the "useful" fonts for
the given locale.  That is done once - so setting the locale during
the menu loading to "C" eliminates the font-sets.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-05-05 17:16:08 UTC
Seems to work fine for me with version #243, closing as TEST-REQ.. reopen if it's still an issue.