Closed Bug 474607 Opened 17 years ago Closed 14 years ago

Events with start times and titles starting with a digit are truncated in all calendar views

Categories

(Calendar :: Calendar Frontend, defect)

All
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dave.r.wilson, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1b3pre) Gecko/20081204 Lightning/1.0pre Thunderbird/3.0b1 On the Calendar tab (with Thunderbird 3.0b1), with the Month or Multiweek display, the start times of events are slightly truncated on the left (so a leading "0" or "2" is not fully visible). Reproducible: Always Steps to Reproduce: 1. 2. 3.
Works for me using Lightning 1.0pre (20090121) with Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1b3pre) Gecko/20090121 Shredder/3.0b2pre.
Component: Lightning Only → Calendar Views
QA Contact: lightning → views
I have upgraded to: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090121 Lightning/1.0pre Shredder/3.0b2pre specifically: Lightning/1.0pre 2009-01-21-04 and Shredder/3.0b2pre 2009-01-21. The problem still occurs -- see attached screenshot. The versions of Thunderbird/Lightning I was running before used 24-hour format for events in the calendar -- these latest versions now use 12-hour AM/PM format -- is it posible to configure the calendar time format?
This is still a problem in 2009-01-25 version of Lightning and needs fixing for Thunderbird Beta 2.
Severity: normal → major
I still can't reproduce this issue. While its quite unfortunate, I don't think this is major priority. What type of calendar are you using? Does this happen with all calendar events?
Severity: major → normal
I'm not sure what your question "What type of Calendar are you using?" means -- I'm using the latest nightly version of Lightning. This truncation occurs on all calendar events in both Multiweek and Month views. It occurs in both 24-hour and 12-hour (AM/PM) clock formats. This problem does NOT exist in Thunderbird 2.
I've tried using userChrome.css to see if I could fix the time truncation problem by increasing margins, padding,etc. Whilst I could increase the margins, I couldn't get rid of the truncation. However, when I was using DOM Inspector, I noticed that after clicking on an event with the DOM Inspector arrow cursor, the truncation disappeared and the time was displayed properly. Does this give a clue to the problem? I've also noticed that we are running different versions of Windows -- I'm running NT6.0 + en-GB -- you're running Windows NT5.1 + de -- could this make a difference?
With "What type of calendar" I mean if its a local calendar (i.e "Home"), or if it is a remote ics or caldav, or provider for google calendar, ... I doubt Vista would make a difference here, but it would be nice if you could test on an XP system with your setup.
I am using a local calendar ("Home"). After further investigation, I think I can throw more light on the problem. The truncation problem is not just confined to the event time -- it also happens in the event title with any title starting with a digit (but not letters!). I have tried changing the font-size and font-family of the event time, in three different ways using userChrome.css, as follows: calendar-month-day-box-item .calendar-month-day-box-item-label { font-size: 10px !important; } calendar-month-day-box-item .calendar-month-day-box-item-label { font-family: Arial !important; } calendar-month-day-box-item .calendar-month-day-box-item-label { font-family: Microsoft San Serif !important; } All of these avoid the truncation problem, but of course the displayed time is in a different style to the rest of the calendar text. I suspect the problem is to do with the particular font used in Lightning, and perhaps the formatting of the event time/title text (trying to squeeze in as much as possible into a small space).
Maybe a Vista-problem. I can confirm this report using Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090202 Lightning/1.0pre Shredder/3.0b2pre Probably related: I see the same bug in the popups of the download status bar extension/firefox 3.0.5.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I have confirmed that this problem exists in both Vista 32-bit and Vista 64-bit. This problem has been introduced in Lightning/1.0pre -- it was NOT present in Lightning/0.9 with Thunderbird 2 on Vista.
The problem reported in Bug 476620 (marked as a duplicate of this bug) also exists in both Vista 32-bit and Vista 64-bit.
Adjusting summary to include bug 476620 (marked as duplicate of this one).
Summary: Start times of events in calendars are truncated in Month and Multiweek views → Start times of events in calendars are truncated in all calendar views
Summary: Start times of events in calendars are truncated in all calendar views → Events with start times and titles starting with a digit are truncated in all calendar views
Flags: blocking-calendar1.0?
Hardware: x86_64 → All
Version: unspecified → Trunk
Wanted to add that this problem exist for me using: Win 7 Pro x64 Thunderbird 3.0.1
Flags: blocking-calendar1.0? → blocking-calendar1.0+
This also happens for me using Win 7 Pro x64 and Thunderbird 3.0.1 I hacked a fix for my machine by changing the calendar-views.css file inside calendar.jar (for me that is located under C:\Documents and Settings\{USER}\Application Data\Thunderbird\Profiles\{random_chars}.default\extensions\{some_key_string}\chrome\). I added a line under calendar-month-day-box-item so that it now looks like this: calendar-month-day-box-item { margin: 1px; padding: 0px 1px; font-family: Arial !important; } but as is mentioned above, that changes the font for all of the events
This problem can be fixed by using the 'Calendar Tweaks' Add-on : https://addons.mozilla.org/en-US/sunbird/addon/14384
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a3pre) Gecko/20100308 Lightning/1.1a1pre Shredder/3.2a1pre On my Win XP with system font Segoe UI this issue is partially present (only 1 pixel), but with the latest Thunderbird's nightly I've noticed that the issue has disappeared (see screenshot). Could someone with Windows Vista or Windows 7 verify whether something has changed with Thunderbird's nightly (Shredder) 3.2a1pre later than 2010/03/07?
Lets assume this is fixed somewhere in the platform. If someone has this issue with 1.0b4 or later, please reopen.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: