Closed
Bug 53669
Opened 24 years ago
Closed 24 years ago
html4 button won't accept click when it has focus
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Core
DOM: UI Events & Focus Handling
Tracking
()
VERIFIED
FIXED
mozilla0.8
People
(Reporter: jruderman, Assigned: joki)
References
Details
(Keywords: access, regression, Whiteboard: [rtm-])
Attachments
(2 files)
No description provided.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Click the html4 button twice, or drag out the first time and then try to click it again. In both cases, you won't be able to click the second time. Recent regression. I'm using 2000 092111 on Windows 98, which is a generally horked (crash-on-exit) build, so this might just go away.
Summary: Button gets stuck → html4 button won't accept click when it has focus
Comment 3•24 years ago
|
||
Re-assigning six bugs from Clayton's list to Harish for further triage...
Assignee: clayton → harishd
Triaging Clayton's list: ------------------------ Changing component to Event Handling and assigning bug to joki. CCing saari.
Assignee: harishd → joki
Component: HTML Element → Event Handling
Confirmed (was going to write this up actually). Also horked in Linux 2000-09- 27-10 and Mac OS 9.0.4 2000-09-26-04. Very, very bad bug. Sit! Good bug...
Verified regression. Nominating for RTM. Inconsistency between buttons is bad, and most user's would probably not realize what is going on and what is the workaround. This would probably be easy to fix since HTML3 button does work, and because it is a regression it should be quite easy (if tedious) to find what checkin(s) broke it and fix it.
Keywords: regression,
rtm
Comment 7•24 years ago
|
||
I agree that this is a bad regression with high user visibility. Marking rtm need info.
Whiteboard: [rtm need info]
Comment 8•24 years ago
|
||
By the way, is this problem specific to <BUTTON> or does this include <INPUT type="BUTTON"> as well?
This only happens in <button>-input type = button seems to work fine: http://slip/projects/marvin/html/input_type_button.html
Assignee | ||
Comment 10•24 years ago
|
||
Okay, I think I have a fix for this but I need to run it by saari. Attaching to bug report.
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
The change looks OK to me. I'm pretty sure that was only set to null to avoid focus renotification/looping.
Comment 13•24 years ago
|
||
sr=vidur. Seems like a safe fix, confirmed by rigorous regression testing of focus management.
Comment 14•24 years ago
|
||
Tom, this again can be checked into the trunk. I spoke to jar about this and he doesn't feel this will be allowed into the rtm branch. Marking rtm-.
Whiteboard: [rtm need info] → [rtm-]
Comment 15•24 years ago
|
||
*** Bug 54469 has been marked as a duplicate of this bug. ***
Comment 16•24 years ago
|
||
*** Bug 54469 has been marked as a duplicate of this bug. ***
Comment 17•24 years ago
|
||
I did a some comment to 54469 that might be somewhat useful
Comment 18•24 years ago
|
||
Changing Plat/OS to ALL. Said comments from rods: This is a style issue. The HTML4 button has these rules: button { ... padding: 1px 1px 1px 1px; } button:active:hover { ... padding: 2px 0 0 2px; } So when you press it (active) it shifts things down and to the left. It does it fine the first time. The first time you can set a break point in nsHTMLButtonControlFrame:Reflow and it hits it, if you click a second time you never hit the break point. It looks like the event state manager is somehow figuring the state hasn't changed. This used to work.
OS: Windows 98 → All
Hardware: PC → All
Comment 19•24 years ago
|
||
cc'ing self. Sorry for the spam
Assignee | ||
Comment 20•24 years ago
|
||
Fix didn't make it in for 6. I'll put it in now.
Target Milestone: --- → mozilla0.8
Comment 21•24 years ago
|
||
Reassigning QA Contact for all open and unverified bugs previously under Lorca's care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
Comment 22•24 years ago
|
||
r=saari
Comment 23•24 years ago
|
||
sr=jst, check this in!
Assignee | ||
Comment 24•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•