This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 35314 - I18N - editor message not show completly using larger font
Summary: I18N - editor message not show completly using larger font
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: I18N
Depends on:
Blocks: 45719
  Show dependency tree
 
Reported: 2003-08-06 21:41 UTC by Ken Frank
Modified: 2007-11-05 13:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
editor message (36.69 KB, image/gif)
2003-08-06 21:43 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2003-08-06 21:41:53 UTC
I realize this might be general editor issue so
please change category
if needed but it was seen
while testing rainier and using c/c++ files

Assumption is that window
should resize or otherwise
show complete message even if user uses larger
font size
1.Invoke C/C++ editor and write few indentical
string (
for searching).
2.Highlight one of the string in the Editor,press
cntrl
+F3, all the string are selected
in the editor.
3.Now press F3, for the next occurence of the
string. O
nce the selection reaches the final
string, the message "End of document reached..."
appear
ing on redbackground in the status bar
appears to be crushed and even complete resize of
IDE t
he message doesn't appear completely.

attachment shows the situation.
Comment 1 Ken Frank 2003-08-06 21:43:20 UTC
Created attachment 11238 [details]
editor message
Comment 2 Thomas Preisler 2003-08-15 18:28:20 UTC
yes, it it a general editor issue. I will re-assign.

Note: Using fontsize 18 couldn't reproduce the problem....
Comment 3 Miloslav Metelka 2003-09-10 15:14:39 UTC
I cannot reproduce it with english on Linux - the message gets shown 
normally with "..." with too narrow editor window and after resizing 
it gets shown completely once the ide gets stretched wide enough.
 I'll try again with Japanese on Solaris.
Comment 4 _ gordonp 2003-10-01 17:57:51 UTC
Changing to P3 because this is a nice-to-have fix rather than
a must-have. Even in different locale's, this problem isn't
something seen under normal circumstances.

Ken, since the developers in Prague haven't been able to duplicate
this problem you might consider giving them detailed instructions
on how to do so. Otherwise they will be justified as closing it as
something they couldn't duplicate.
Comment 5 Ken Frank 2003-10-01 18:23:35 UTC
Re comment below that message shown with ... until resized - that
is exactly the issue - the message should show completely
without resizing, whether it means window gets larger or
text wraps around or other solution.

At least thats the general guideline that seems to be used
in looking at other fontsize/resize issues.

Or is there some difference in the fact that this is in footer
of the window ?

(Gordon, thus what Miloslav sees is the issue, thus it has been
reproduced)

ken.frank@sun.com
10/01/2003
Comment 6 Martin Roskanin 2004-08-19 09:51:24 UTC
Autoresize the width of window is unacceptable
The solution is that user can resize the window to see a complete
text. If the text is longer and is not visible even after window
maximization I would suggest to display it in tooltip...
Comment 7 Miloslav Metelka 2004-08-19 10:42:16 UTC
Yes, Mato is right it would not be good to stretch the window
programatically in case something wide gets displayed in the status bar.
The solution with having a tooltip showing the whole string seems very
good for me. Mato, could you please implement it? Thanks.
Added Gabo to cc if he wants to speak up. 
Comment 8 Martin Roskanin 2004-08-19 13:37:29 UTC
fixed in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.48; previous revision: 1.47

/cvs/editor/libsrc/org/netbeans/editor/StatusBar.java,v  <-- 
StatusBar.java
new revision: 1.39; previous revision: 1.38