Closed Bug 547533 Opened 16 years ago Closed 16 years ago

Day/week views: when creating events dragging the mouse, the title label is misplaced in the center of the events' box

Categories

(Calendar :: Calendar Frontend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bv1578, Assigned: Fallen)

Details

(Keywords: regression)

Attachments

(1 file)

Not sure if this is a bug related to others problems already reported with another bug. Reproducible: Always. Steps to Reproduce: 1. In day/week view create a new event dragging the mouse cursor on the view; 2. Click on an empty position of the view; 2.1 type the "Back Space" key: 3. Create a new event, again by dragging the mouse or click outside the view. Actual Results: -after step 1 the title of the event "New Event" is highlighted but is in the middle (vertical space) of the event's box; -after step 2 the title is still in the middle and is still highlighted; -after step2.1 appears a blinking text cursor that takes the whole box vertical space; -after step 3 and 2 the title goes in the right position (top left corner) and isn't highlighted anymore; Expected Results: The title should be always in the left top corner of the box and shouldn't be highlighted when the user click outside of the box (or even inside the box with Calendar 0.9); the blinking text cursor should have the same size of the text. The bug *seems* reproducible with any version of Lightning on Shredder 3.2a1pre and Lanikai/3.1b1pre (even version previous the recent fixes) but *not* with Thunderbird 3.0.1 and Lightning 1.0b2pre Build 20100131034742 or older version.
Yes, I've seen this before too. Probably some xul magic that changed.
Keywords: regression
Attached patch Fix - v1 β€” β€” Splinter Review
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #433725 - Flags: review?(Mozilla)
Comment on attachment 433725 [details] [diff] [review] Fix - v1 patch looks good and works r=markus p.s.: why are we having both, a xul:description and a xul:textbox for the event name?
Attachment #433725 - Flags: review?(Mozilla) → review+
The textbox is used while inline editing (click, wait, click again), the label is used for normal display. Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/6be5cc695292> -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
OS: Windows XP → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → 1.0b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: