Closed Bug 697812 Opened 13 years ago Closed 13 years ago

After creating a new event, clicking on other elements doesn't blur the title textbox

Categories

(Calendar :: Calendar Frontend, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Fallen, Assigned: Fallen)

Details

(Whiteboard: [needed beta][no l10n impact])

Attachments

(1 file)

1. Create a new event via dragging
2. Don't change the title
3a. Try to create another event somewhere else, or
3b. Try to drag the grippys to change event length

Actual:

* You can't, the textbox to enter the title is still focused

Expected:

* Blur the textbox, create new events
Flags: blocking-calendar1.0+
Attached patch Fix - v1 β€” β€” Splinter Review
This seems to be mac only, where focusing is a bit strange. This patch doesn't fully fix the issue, but relieves it a bit:

Explicitly focusing the event column when events are deselected allows bluring the textbox when clicking in the view. Clicking on a different event or the grippy of the same event won't cause a blur, but I think that if that doesn't work the user's first idea would be to click outside of the event boxes.

On other platforms, the column doesn't have -moz-user-focus, so the focus should do nothing.
Attachment #571154 - Flags: review?(bv1578)
Comment on attachment 571154 [details] [diff] [review]
Fix - v1

(In reply to Philipp Kewisch [:Fallen] from comment #1)
> Clicking on a different event
> or the grippy of the same event won't cause a blur, but I think that if that
> doesn't work the user's first idea would be to click outside of the event
> boxes.

The wrong behavior seems only when clicking on the same event just created, but  on another event or on the view, the behavior is right.
Attachment #571154 - Flags: review?(bv1578) → review+
Pushed to comm-central changeset 2a8720e79270
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Backported to releases/comm-aurora changeset 7a3810fee948
Target Milestone: Trunk → 1.0b9
Backported to releases/comm-beta changeset e8606afddbea
Target Milestone: 1.0b9 → 1.0b8
You need to log in before you can comment on or make changes to this bug.