Public bug reported:

When making a window as narrow as possible, I noticed that word-wrap
stopped wrapping words before I was done shrinking the window (attached
screenshots 1 and 2).

By chance I stumbled upon the cause: I tried disabling the sidebar in
settings, but accidentally disabled the status bar instead, and suddenly
the word-wrap worked immediately:

The status bar minimum width is clamping text area/word-wrap width to a
larger value than the editor area's actual width. (screenshot 3)

I expect the status bar to never interfere with, or cause, the need for
horizontal scrolling -- especially when word-wrap exists for the sole
purpose of removing horizontal scrolling. I expect the status bar to
make due with whatever size it is given.


---

(That I tried to find the sidebar settings in 1. the application menu,
and 2. the settings panel before finally finding it in 3. an
inconspicuous accessory menu in the window's title bar speaks loads
about the current design, but is, of course, a separate issue that I
don't know how to even begin to address)

---

Description:    Ubuntu 17.10
Release:        17.10

gedit:
  Installed: 3.22.1-1ubuntu1
  Candidate: 3.22.1-1ubuntu1
  Version table:
 *** 3.22.1-1ubuntu1 500
        500 http://se.archive.ubuntu.com/ubuntu artful/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Illustrating erroneous word wrap as well as its cause"
   
https://bugs.launchpad.net/bugs/1725792/+attachment/4983146/+files/word-wrap-problem-and-cause.zip

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1725792

Title:
  Word-wrap breaks in windows with small width

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1725792/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to