Bug 224679 - [content assist] Code assist description font too big
Summary: [content assist] Code assist description font too big
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2008-03-28 13:02 EDT by Kevin McGuire CLA
Modified: 2008-04-14 15:57 EDT (History)
5 users (show)

See Also:


Attachments
screen cap showing relative font sizes of code assist list and text (97.08 KB, image/jpeg)
2008-03-28 13:04 EDT, Kevin McGuire CLA
no flags Details
screenshot gtk with partial big fonts (94.57 KB, image/jpeg)
2008-03-28 13:15 EDT, Benjamin Muskalla CLA
no flags Details
Sceen cap showing font comparison (167.08 KB, image/jpeg)
2008-03-28 18:44 EDT, Kevin McGuire CLA
no flags Details
Good Javadoc hover in HC (49.17 KB, image/png)
2008-03-31 06:14 EDT, Dani Megert CLA
no flags Details
IE in HC alongside eclipse (88.42 KB, image/jpeg)
2008-04-14 15:57 EDT, Kevin McGuire CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2008-03-28 13:02:46 EDT
I20080327-0100

1. open code assist on java source
2. select an element that has description text

Observe: the resulting font is HUGE, so much so that the text is likely useless (hence marking this major).
Comment 1 Kevin McGuire CLA 2008-03-28 13:04:07 EDT
Created attachment 94009 [details]
screen cap showing relative font sizes of code assist list and text
Comment 2 Remy Suen CLA 2008-03-28 13:07:43 EDT
This _was_ a problem on Linux/gtk+ with I20080325-0100 but I cannot reproduce it on I20080327-2251.
Comment 3 Benjamin Muskalla CLA 2008-03-28 13:15:59 EDT
Created attachment 94013 [details]
screenshot gtk with partial big fonts

Just in case it isn't fixed already, this is a screenshot of 0335-2233 on gtk. The fonts of the content assist are way too big but the javadoc font is alright.
Comment 4 Kim Horne CLA 2008-03-28 15:23:53 EDT
I dont believe our popup has anything to do with the javadoc blob that appears.  Moving to JDT for comment.
Comment 5 Dani Megert CLA 2008-03-28 15:31:45 EDT
Guys please. One bug one bug report. This bug is about the Javadoc and latest comment says Javadoc is good but...

Anyway, the content assist proposal list bug is fixed in I20080327-2251.

Kevin, the picture looks as if you switched to HC under WinXP. This them *has* big fonts. For M7 we will provide a way to move into the Javadoc window and resize it. Are you suggesting to ignore HC and set a hard-coded small font?
Comment 6 Kevin McGuire CLA 2008-03-28 18:43:03 EDT
(In reply to comment #5)

> Kevin, the picture looks as if you switched to HC under WinXP. This them *has*
> big fonts. For M7 we will provide a way to move into the Javadoc window and
> resize it. Are you suggesting to ignore HC and set a hard-coded small font?

Correct I'm using HC in WinXP.  While its true that this mode does use larger fonts, the font in question is bigger than say the list font, default text font (say from 3.3.2, current is smaller but that's a separate bug), etc.  We're talking PowerPoint presentation size font here. I'm not suggesting we don't observe the system font choices. I just wonder if we're computing something, or picking up a font that was intended for something else (although what I'm not sure, its not title or anything else I can spot).  In any case it makes the description portion unusable so something's not right here.

By the way, I'm seeing the same behaviour in 3.3.2 so its not a regression.

Comment 7 Kevin McGuire CLA 2008-03-28 18:44:42 EDT
Created attachment 94081 [details]
Sceen cap showing font comparison

In the screen shot you can see that the description font (left box) is considerably bigger than the explorer list font, the title font, etc.  Looks about 2x.
Comment 8 Kevin McGuire CLA 2008-03-28 18:52:26 EDT
FYI, I looked through the system Display Properties -> Appearance -> Advanced dialog on XP when in HC mode and the largest font I could find is 18pt (active title etc).  So I don't think this is a system font size we're seeing.

In case it helps, its true that the javadoc view seems to be using the same font (both in i0327 and in 3.3.2).
Comment 9 Dani Megert CLA 2008-03-31 06:11:58 EDT
I cannot reproduce this here (see attached picture). Most likely this has to do which browser is used by the Browser widget on your computer and what settings that browser is using. Are you using the standard setup? If so that would be IE.

Maybe you've set your browser to ignore custom fonts? Check your browser settings, especially those related to fonts and accessibility.

Also, please test (under normal and HC) whether your browser honors the Javadoc font at all (General > Colors and Fonts | Java > Javadoc display font (which per default its set to dialog font).

Also, you should see the same bad font in Javadoc view.
Comment 10 Dani Megert CLA 2008-03-31 06:14:22 EDT
Created attachment 94186 [details]
Good Javadoc hover in HC
Comment 11 Kevin McGuire CLA 2008-03-31 10:58:32 EDT
Interesting, didn't know the connection to the browser widget.  Will investigate the items you mentioned.
Comment 12 Dani Megert CLA 2008-04-11 08:17:14 EDT
Kevin, did you have any chance to investigate? We haven't seen this so far.
Comment 13 Kevin McGuire CLA 2008-04-14 15:56:19 EDT
Thanks for the reminder Dani.

Short answer is it looks like an IE problem:

It seems that IE on my machine is scaling up the fonts, and I assume then we pick that up.  No matter what font I pick in the javadoc preference, I get indeed that font but not the size, its always scaled way up. And if I simply open IE then I get a mondo font (with text size is set to medium).
Comment 14 Kevin McGuire CLA 2008-04-14 15:57:48 EDT
Created attachment 95978 [details]
IE in HC alongside eclipse