Closed Bug 390313 Opened 13 years ago Closed 12 years ago
Tooltip too narrow with some Windows themes, text is truncated
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 220.127.116.11 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
Here the Time is cut off. If another line is longer, this gets cut.
I can reproduce this issue using Lightning 0.7pre (2007073009) and Thunderbird 18.104.22.168pre (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.
(In reply to comment #3) > I can reproduce this issue using Lightning 0.7pre (2007073009) and > Thunderbird 22.214.171.124pre (20070730) on Windows 2000. Correction: This should read "I can't reproduce this issue".
(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:126.96.36.199pre) 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
I now can reproduce it using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52pre) Gecko/20070906 Calendar/0.7pre. The issue depends on the theme used: Using Windows XP Luna theme -> Fails Using Windows Classic theme -> Works OK
I encountered this bug using the Microsot Zune-Theme. I'll test it with the classic theme sometime soon.
OK, confirmed normal behaviour with standard windows XP-Theme. So this bug only shows up with other themes.
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?
(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
Summary: Mouse-over Tooltip window too narrow → Tooltip too narrow with some Windows themes, text is truncated
I can also confirm the range. Tried with the 1.8 builds 2007-07-04-03 --> OK 2007-07-05-04 --> tooltip too narrow
I'm seeing this bug in Sunbird 0.7 with XP Luna theme and find it highly annoying. No problem with Sunbird 0.5.
Still present in Lightning 0.8, with TB 184.108.40.206, 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.
Fails using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11pre) 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:18.104.22.168pre) 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
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)
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
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.9
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.
Also works on XP Zune Theme.
You need to log in before you can comment on or make changes to this bug.