Closed Bug 56646 Opened 26 years ago Closed 25 years ago

Menus should have cursor: default;

Categories

(SeaMonkey :: UI Design, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

Attachments

(1 file)

The autocomplete menu currently uses the I-beam cursor because no cursor is specified, so it just derives from its parent (the textfield). I have a fix for this which adds styling in the xml, but this really isn't the best for skinability reasons. Ducarroz, how can this menu be styled? I tried adding an id and then styling it in navigator.css but that didn't work. In what .css file should the styling for this go?
Ducarroz, could I get an answer, please?
Status: NEW → ASSIGNED
Component: Browser-General → XP Apps: GUI Features
QA Contact: doronr → sairuh
Target Milestone: --- → mozilla1.0.1
I am not sure, maybe it should goes into themes/<theme>/global/<platform>/textfield.css under a rule like textfield[autocomplete="true"] or maybe directly into xpfe/global/resources/content/xul.css, I don't know if you can use a rule like autocomplete { } Ben, what's your advise?
QA Contact: sairuh → claudius
textfield[autocomplete="true"] would style the textfield.
i'm just going to have cursor: default by default on menu items.
OS: Windows 98 → All
Priority: P3 → P2
Hardware: PC → All
Summary: Autocomplete menu has I-beam cursor → Menus should have cursor: default;
Target Milestone: mozilla1.0.1 → mozilla1.0
hmm, should probably fix the original problem also for other skins.
Priority: P2 → P3
The cursor problem is not just an autocomplete menu matter but every menu that popup from a textfield like contextual menu. The right fix would be to set the cursor to default in the global menu css file. You need to specify it for the menu box (could be menu or popup) as well for the menu items.
I know, that's what I was thinking.
don't forget to do it as well for menu and popup element else you will still have potentially the wrong cursor when you mouse over the up/down arrow that let you scroll the content of a menu when there is too much menu items.
Just for your information, you can now style the autocomplete popup menu. Look at the .textfield-popup rule at the end of the file textfield.css for more info.
if mozilla is ever busy we shouldn't use default in menus, right?
cc'ing alec for sr
thanks blake. sr=alecf
r=timeless + variance on whitespace
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*** Bug 50799 has been marked as a duplicate of this bug. ***
If I right-click on the location field, I still get the I-beam pointer when I mouse over separators. It doesn't happen for HTML inputs or textfields. Should this be a separate bug?
Yeah I know. It's weird. Please file a separate bug on me.
Done - bug 66219
v
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: