Closed Bug 187420 Opened 22 years ago Closed 21 years ago

BookmarkInfoPanel.nib: Description field does not wrap

Categories

(Camino Graveyard :: Bookmarks, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: norbert, Assigned: sfraser_bugs)

References

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20021231 Chimera/0.6+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20021231 Chimera/0.6+

When entering a description for a bookmark the text entered in the description
field does not wrap around at the end of the line.
So even though the field is about 8 lines high, all the text stays on the first
line.
Easy to fix in Interface Builder.

Reproducible: Always

Steps to Reproduce:
1. Select some Bookmark
2. Choose Get Info from the context menu.
3. Enter a longer text into the Description field.

Actual Results:  
The text stay on a single line and make the box sroll to the left.

Expected Results:  
The text should wrap at the end of the line so the following lines of the
Description field get used.

To fix the bug:

Open "BookmarkInfoPanel.nib" in Interface Builder.
Open "BookmarkInfoController"
Select the Description field.
Change the "Layout" attribute from "Scrollable" to "Wraps".
Reset the height of the field to the previous value.

*** This bug has been marked as a duplicate of 168535 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
This no duplicate of 168535.

The other bug mentions that you can't enter a Return character in the
description field.
This bug states that the "BookmarkInfoPanel.nib" is not set up correctly so text
does wrap around at the end of the first line so the field height of 8 lines is
completely useless.

The fix outlined in my bug description fixes the bug (I verified that), this
change will not fix bug 168535 and vice versa!!!
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Taking
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 187461 has been marked as a duplicate of this bug. ***
Wouldn’t it make more sense to change the description field to an NSTextView
instead of an NSTextField? That way it would wrap lines and have scrollbars as
well..
sounds as asolution !
WFM 20040105 NB.
Status: NEW → RESOLVED
Closed: 22 years ago21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.