#3586 closed defect (fixed)
Activity Toolbar Description input field should soft wrap text
Reported by: | garycmartin | Owned by: | erikos |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | |
Component: | Sugar | Version: | 0.96.x |
Severity: | Unspecified | Keywords: | |
Cc: | erikos | Distribution/OS: | Unspecified |
Bug Status: | Assigned |
Description
When using the new Description feature (Activity toolbar for adding description data to the Journal entry), the input field does not soft wrap to the entry field width so you just endlessly type on one long scrolling line unless you manually insert line feeds. Makes it very hard to read anything but trivial short snippets of text without scrolling left and right to see the rest of the paragraph/sentence.
Change History (9)
comment:1 Changed 12 years ago by garycmartin
comment:2 Changed 12 years ago by garycmartin
- Cc erikos added
comment:3 Changed 12 years ago by garycmartin
Correction, sugar3 uses Gtk and not gtk as well as some other changes, so editing sugar/activity/widgets.py needs:
self._text_view.set_wrap_mode(gtk.WRAP_WORD_CHAR)
... and sugar3/activity/widgets.py needs:
self._text_view.set_wrap_mode(Gtk.WrapMode.WORD_CHAR)
comment:4 Changed 12 years ago by sascha_silbe
- Component changed from sugar to sugar-toolkit
comment:5 Changed 12 years ago by garycmartin
- Version changed from Unspecified to 0.96.x
comment:6 Changed 12 years ago by erikos
- Bug Status changed from Unconfirmed to Assigned
- Milestone changed from Unspecified by Release Team to 0.96
- Owner set to erikos
- Status changed from new to assigned
comment:7 Changed 12 years ago by erikos
- Resolution set to fixed
- Status changed from assigned to closed
Thanks Gary, pushed. Will be in 0.96.2.
comment:8 Changed 10 years ago by dnarvaez
- Component changed from sugar-toolkit to Sugar
Note: See
TracTickets for help on using
tickets.
Can be easily fixed by editing sugar/activity/widgets.py and sugar3/activity/widgets.py and adding the below at around line 257:
This soft wraps the existing text and new text that you type to fit the horizontal width of the text view.