GNOME Bugzilla – Bug 399018
Notes entry pane does not wrap text
Last modified: 2009-07-09 18:07:11 UTC
Please describe the problem: Instead of wrapping text when it reaches the end of a line, the File Properties dialog actually becomes wider as each new character is entered. This behavior is not apparent when cut-and-pasting, only when actually typing. Steps to reproduce: 1. Right click a file in Nautilus and select Properties. 2. Activate the Notes tab. 3. Start writing text, do not cut and paste. Actual results: At the end of the line, the window will grow in width, and continue to grow in width. At some point the words will wrap, but if this process is continued on the next line, the window continues to grow in width. Expected results: The text in the Notes area should wrap automatically. No manual line breaks should be required to wrap text. Line breaks should only indicate a new paragraph. Does this happen every time? Yes. Other information:
Created attachment 138098 [details] [review] Patch to make the Properties->Notes dialog wrap text properly. Here is a patch which solves this issue for me on Ubuntu 9.04 with Nautilus 2.26.2. It is a one-liner which turns on automatic horizontal scrolling, which in turn causes the text to wrap properly. A horizontal scrollbar will appear in Properties->Notes & Sidebar->Notes only when a word is bigger than the visible area, as opposed to never. Previously the properties dialog would resize if possible, and the sidebar would float off into space without a scrollbar.
Thanks for the patch, committed to master. commit fd9df908248be20bc5f79def1dd96a45bb9f56c8 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Thu Jul 9 19:03:34 2009 +0100 Don't force no horizontal scrollbar in the note viewer This causes issues with long words in the notes viewer, as the window will grow bigger along with the word. Patch by Luke Symes, fix bug #399018.