Tooltip too narrow with some Windows themes, text is truncated

RESOLVED FIXED in 0.9

Status

Calendar
Calendar Views
RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: Taraman, Assigned: Stefan Sitter)

Tracking

(Depends on: 1 bug, {regression})

Mozilla 1.8 Branch
x86
Windows XP
regression
Dependency tree / graph

Details

Attachments

(3 attachments)

(Reporter)

Description

10 years ago
The Tooltip information does not show the whole descriptive text. The last 1 or 2 characters (depending on character width) of the longest line are missing in all views.
Tested in Lightning on WinXP with TB 2.0.0.5 Portable and Lightning 0.7pre Build 2007073105
Optionally, this can depend on bug 366680. The patch I have semi-finished totally removes mouseoverPreviews.js, where the tooltip currently lives.
Depends on: 366680
(Reporter)

Comment 2

10 years ago
Created attachment 274632 [details]
Screenshot of the Tooltip

Here the Time is cut off.
If another line is longer, this gets cut.
(Assignee)

Comment 3

10 years ago
I can reproduce this issue using Lightning 0.7pre (2007073009) and Thunderbird 2.0.0.6pre (20070730) on Windows 2000.

Markus, do you use a custom theme or extension that could affect the tooltips? I noticed that in your screenshot it has a white background color but during my testing it had a yellow background color.
(Assignee)

Comment 4

10 years ago
(In reply to comment #3)
> I can reproduce this issue using Lightning 0.7pre (2007073009) and
> Thunderbird 2.0.0.6pre (20070730) on Windows 2000.

Correction: This should read "I can't reproduce this issue".

Comment 5

10 years ago
(In reply to comment #4)
> I can't reproduce this issue


I can reproduce it with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7pre) Gecko/20070824 Calendar/0.7pre

The issue isn't present in 0.5 (regression?)---> IMO this bug is really annoying.The tooltip information is not legible. It would be great to have it fixed for final 0.7. So I nominate it for blocking 0.7

Updated

10 years ago
Flags: blocking-calendar0.7?
Keywords: relnote
(Assignee)

Comment 6

10 years ago
I now can reproduce it using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7pre) Gecko/20070906 Calendar/0.7pre. 

The issue depends on the theme used:

Using Windows XP Luna theme -> Fails
Using Windows Classic theme -> Works OK
(Reporter)

Comment 7

10 years ago
I encountered this bug using the Microsot Zune-Theme.
I'll test it with the classic theme sometime soon.
(Reporter)

Comment 8

10 years ago
OK, confirmed normal behaviour with standard windows XP-Theme.
So this bug only shows up with other themes.
(Assignee)

Comment 9

10 years ago
Other tooltip related Bug 396298 and Bug 389341 were regressed between the 2007-07-04-04 and 2007-07-05-04 build. 

Markus, Omar: Can you confirm this regression range? If not: Can you find the correct range?

Comment 10

10 years ago
(In reply to comment #9)
> Other tooltip related Bug 396298 and Bug 389341 were regressed between the
> 2007-07-04-04 and 2007-07-05-04 build. 
> 
> Markus, Omar: Can you confirm this regression range? If not: Can you find the
> correct range?
> 

Confirmed the regression range
(Assignee)

Updated

10 years ago
Keywords: regression
Summary: Mouse-over Tooltip window too narrow → Tooltip too narrow with some Windows themes, text is truncated
(Assignee)

Updated

10 years ago
Blocks: 262811
(Reporter)

Comment 11

10 years ago
I can also confirm the range. Tried with the 1.8 builds
2007-07-04-03 --> OK
2007-07-05-04 --> tooltip too narrow

Updated

10 years ago
Duplicate of this bug: 401356

Updated

10 years ago
Flags: blocking-calendar0.7?
Target Milestone: 0.7 → ---

Comment 13

10 years ago
I'm seeing this bug in Sunbird 0.7 with XP Luna theme and find it highly annoying. No problem with Sunbird 0.5.

Comment 14

10 years ago
Still present in Lightning 0.8, with TB 2.0.0.12, on Windows XP SP2.  If the "Luna" theme is the default (as in I haven't changed anything since I bought the computer) theme, then that is what I am using.

As mentioned, it is very annoying, and since nearly every non-computer-geek-owned Windows computer I see uses this "theme," then I would imagine a lot of lightning users are seeing this.
(Assignee)

Comment 15

9 years ago
Fails using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17pre) Gecko/20080704 Calendar/0.9pre with Windows XP Luna theme.

Works fine using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2pre) Gecko/2008070318 Calendar/0.6a1 with Windows XP Luna theme.

--> Issue already fixed on TRUNK. Only MOZILLA_1_8_BRANCH is affected.
Version: Trunk → Mozilla 1.8 Branch
(Assignee)

Comment 16

9 years ago
Created attachment 331143 [details] [diff] [review]
partial workaround

This workaround partially fixes the issue with the Luna theme. For example it's now possible to see the full time string. But if the tooltip contains e.g. a wrapped description it is still truncated. Maybe there is some miscalculation regarding max-width when using the Luna theme. 

The patch doesn't seem to have any effect when using the XP classic theme. Therefore I assume it won't cause any side effects on other system/themes with correct tooltip display.
Attachment #331143 - Flags: review?(philipp)
(Assignee)

Comment 17

9 years ago
Created attachment 331144 [details]
Screenshot of the Tooltip with applied patch
Comment on attachment 331143 [details] [diff] [review]
partial workaround

Fine with me, r=philipp
Attachment #331143 - Flags: review?(philipp) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.9
(Assignee)

Comment 20

9 years ago
As pointed out in comment #16 this workaround doesn't fix the issue in all cases. I'm not sure if we want to keep the bug open to find another workaround for that cases too. The final fix would be switching to Trunk where this issue doesn't exists.
Given that we are shortly before the last branch release, I doubt we want to keep this bug open, unless you find a better workaround/fix.

It would be nice to add a comment to those lines that contains MOZILLA_1_8_BRANCH so we can filter out things easier when moving to trunk. I'll add that later on.
(Reporter)

Comment 22

9 years ago
Also works on XP Zune Theme.
(Assignee)

Updated

9 years ago
Duplicate of this bug: 450389

Updated

9 years ago
Keywords: relnote
Assignee: nobody → ssitter
You need to log in before you can comment on or make changes to this bug.