Closed
Bug 300622
Opened 19 years ago
Closed 19 years ago
bad focus and behavior after clicking tab
Categories
(Other Applications :: ChatZilla, defect)
Other Applications
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mrmazda, Assigned: bugzilla-mozilla-20000923)
Details
(Whiteboard: [cz-0.9.69])
Attachments
(1 file)
|
1.16 KB,
patch
|
samuel
:
review+
|
Details | Diff | Splinter Review |
This is on current Linux & OS/2 trunks (e.g. 2005071103) and started somewhere around the time bug 299454 was fixed. To reproduce: 1-Open CZ to several channels 2-Click some channel tab other than the one for the currently displayed channel 3-Strike any alphanumeric key(s) Actual behavior: 1-Focus is on nick button 2-CPU % for suite exectuable is upwards of 90% for many seconds, possibly more than a minute, depending on system speed and other activity 3-No typed character(s) appear in input box Expected behavior: 1-Focus is in input box 2-CPU % is normal 3-Typed character(s) appear in input box Workaround: try to remember to hit <tab> key after each click of a channel tab, before striking any other key
| Reporter | ||
Comment 1•19 years ago
|
||
The amount of time CPU is pegged is dependant upon how many keystrokes are entered before realizing that focus remains on the button. This is a serious time waster, as nothing is possible in any app while pegged.
Severity: normal → major
| Assignee | ||
Comment 2•19 years ago
|
||
It appears to be aaronleventhal's doing... http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/xpfe/global/resources/content/bindings/tabbox.xml&rev=1.31 That revision of the tabs XBL is what seems to have caused this. Setting 'setfocus' to 'false' on the tabs element does stop it, however, the old code also checked the attribute and used advanceFocusIntoSubtree (like the new code), so the behaviour has changed (CZ 0.9.68.6 in Moz 1.7 is fine). Felix, until I get a better idea of what's actually causing the bug with the tabs (I'll probably be moving this bug out of CZ soon), you can do the following eval to fix the problem for the current session: /eval document.getElementById("views-tbar-inner").setAttribute("setfocus", "false")
| Assignee | ||
Updated•19 years ago
|
Assignee: rginda → silver
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Hardware: PC → All
Updated•19 years ago
|
Attachment #193310 -
Flags: review?(samuel) → review+
| Assignee | ||
Comment 4•19 years ago
|
||
Checked in --> HACKEDAROUND (aka FIXED).
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•19 years ago
|
||
Hack works, but should verification be deferred pending some non-hack fix?
| Assignee | ||
Comment 6•19 years ago
|
||
We've worked around the issue within the scope of the ChatZilla component. There should be a follow-up bug in XPFE for the real issue, however it should not IMHO block verification of this bug.
Comment 7•19 years ago
|
||
(In reply to comment #6) > We've worked around the issue within the scope of the ChatZilla component. > There should be a follow-up bug in XPFE for the real issue, however it should > not IMHO block verification of this bug. is there a bug# for XPFE
| Assignee | ||
Updated•19 years ago
|
Whiteboard: [cz-0.9.69]
You need to log in
before you can comment on or make changes to this bug.
Description
•