Closed Bug 736879 Opened 12 years ago Closed 11 years ago

Hovering in the text area, but not directly on any text --> No text cursor

Categories

(DevTools :: Source Editor, defect, P3)

11 Branch
x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 28

People

(Reporter: dave.hennings.bugzilla, Assigned: anton)

Details

(Whiteboard: [good first verify] )

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
Build ID: 20120312181643

Steps to reproduce:

1. Opened the Scratchpad, by pressing shift+f4.
2. Moved the mouse pointer into the text area of the Scratchpad, but not onto any text


Actual results:

Nothing special.


Expected results:

The cursor should have changed into the "text cursor" (CSS cursor:text;)

More information:
The bug occurs for anything I know that uses Orion: the Scratchpad, the Style Editor and the Stylish extension.
Component: Untriaged → Developer Tools
QA Contact: untriaged → developer.tools
This is also consistent with the way our cursor changes when hovering text in the browser. Going to mark this WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Component: Developer Tools → Developer Tools: Console
Resolution: --- → WORKSFORME
(In reply to Rob Campbell [:rc] (:robcee) from comment #1)
> This is also consistent with the way our cursor changes when hovering text
> in the browser. Going to mark this WFM.

Yes, it is "consistent" with the way our cursor changes when hovering text in the browser. Who cares? It's not supposed to be, IMO. It is inconsistent with <input type="text"> and <textarea> (which is sort of emulated) elements, and in fact any other text editor I know. I can't believe it won't be fixed when it seems like this is sufficient for solving the issue:

.viewContainer {
    cursor:text;
}

I am actually bothered by the current behavior: The constant blinking of the cursor as it switches between normal and text looks is annoying, and confusing.
That's fine. If it's an easy enough CSS fix we can do it. This may require an upstream fix to Orion.

Moving to Source Editor.
Status: RESOLVED → REOPENED
Component: Developer Tools: Console → Developer Tools: Source Editor
Ever confirmed: true
Resolution: WORKSFORME → ---
Assignee: nobody → anton
Priority: -- → P3
Summary: Orion - Hovering in the text area, but not directly on any text --> No text cursor → Hovering in the text area, but not directly on any text --> No text cursor
Attachment #8338201 - Flags: review?(jryans)
Comment on attachment 8338201 [details] [diff] [review]
Set cursor:text for the text area

Review of attachment 8338201 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good!
Attachment #8338201 - Flags: review?(jryans) → review+
https://hg.mozilla.org/mozilla-central/rev/f0cc82e94cce
Status: REOPENED → RESOLVED
Closed: 12 years ago11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
Whiteboard: [good first verify]
 [bugday-20140305]

Validated the bug in Beta 28, Aurora 29 and Nightly 30 - Win 7 and it works fine
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: