Closed Bug 595582 Opened 14 years ago Closed 14 years ago

Legend and more... should open on click, not mouseover

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philor, Assigned: Swatinem)

References

Details

Attachments

(1 file, 1 obsolete file)

Roughly 300 times a day, I move my mouse over the area in the upper left third of a tbpl page, while heading for one of the three tabs up there, or a bookmark, or the menu. Of those 300 times a day when the legend opens, I want to see it 0 times, and I'm distracted by something flickering in and out of existence 300 times. more... isn't quite as bad because it has a smaller mouseover target, but it should also switch to a click target (or, infinitely better, into an actual accessible link, with a click handler), with a dropmarker to indicate that it's a menu.
Attached patch patch (obsolete) — Splinter Review
- "<a href='" + (i == 0 ? "./" : "?tree=" + tree) + "'>" + tree + "</a>"; + "<a href='?tree=" + tree + "'>" + tree + "</a>"; So it does not take me to the directory index when I’m working on file:// + // oh god, I do hate event handling sometimes. I don’t get a single + // mouseout with target == .dropdown, instead I get a lot of mouseouts + // with target == ul or h2. Maybe you can tell me why dom events just brainf*cked me again?
Assignee: nobody → arpad.borsos
Status: NEW → ASSIGNED
Attachment #477439 - Flags: review?(mstange)
Depends on: 540464
Wouldn't it make more sense if it was click-to-open/click-to-close instead of click-to-open/mouseout-to-close?
(In reply to comment #2) > Wouldn't it make more sense if it was click-to-open/click-to-close instead of > click-to-open/mouseout-to-close? It is both. I personally feel mouseout-to-close is good because it requires less interaction when you just want to take a short peek at the sheriff for example.
I think we should only close when clicking outside the dropdown. The only differences between this patch and yours is the stuff inside UserInterface.init.
Attachment #477439 - Attachment is obsolete: true
Attachment #478291 - Flags: review?(arpad.borsos)
Attachment #477439 - Flags: review?(mstange)
Comment on attachment 478291 [details] [diff] [review] only close onmousedown >+ $("html").bind("mousedown", function clickAnywhere(e) { We have another function called clickAnywhere, which is used to close the details pane on the bottom. Would be good to combine those two in a followup.
Attachment #478291 - Flags: review?(arpad.borsos) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: