Bug#800889: [gedit] lines not wrapping to text field width, but to window width

Philipp Klaus Krause pkk at spth.de
Sun Oct 4 16:07:08 UTC 2015


Package: gedit
Version: 3.16.3-1
Severity: normal

--- Please enter the report below this line. ---

When I have long lines in a text file, gedit wraps the lines, preferybly
at word boundaries. However, the width is not calculated as the width of
the visible text area, but as the width of the text area with the
vertical scroll bar.
This means that for lines that are just one or two characters wider than
the text area, they are not wrapped, and the last one or two characters
are not visible. Similarly for lines where some word is just at the edge.

The attached sample file swhoiws the problem on my system, as the last }
in the file is placed on the second line, but not visible due to the
vertical scroll bar.

--- System information. ---
Architecture: amd64
Kernel:       Linux 4.1.0-1-amd64

Debian Release: stretch/sid
  500 unstable        ftp.de.debian.org
  500 testing         ftp.de.debian.org
    1 experimental    ftp.de.debian.org

--- Package information. ---
Depends                           (Version) | Installed
===========================================-+-==============
python3:any                   (>= 3.3.2-2~) |
libatk1.0-0                     (>= 1.12.4) | 2.16.0-2
libc6                             (>= 2.14) |
libcairo-gobject2               (>= 1.10.0) |
libcairo2                        (>= 1.2.4) |
libenchant1c2a                   (>= 1.6.0) |
libgdk-pixbuf2.0-0              (>= 2.22.0) |
libgirepository-1.0-1            (>= 0.9.3) |
libglib2.0-0                   (>= 2.39.90) |
libgtk-3-0                      (>= 3.11.7) |
libgtksourceview-3.0-1         (>= 3.11.90) |
libpango-1.0-0                  (>= 1.14.0) |
libpangocairo-1.0-0             (>= 1.14.0) |
libpeas-1.0-0                    (>= 1.1.0) |
libx11-6                                    |
libxml2                          (>= 2.7.4) |
gedit-common                      (>= 3.12) |
gedit-common                      (<< 3.13) |
gnome-icon-theme-symbolic                   |
gsettings-desktop-schemas                   |
python3-gi                         (>= 3.0) |
python3-gi-cairo                   (>= 3.0) |
gir1.2-peas-1.0                             |
iso-codes                                   |


Recommends      (Version) | Installed
=========================-+-===========
zenity                    | 3.16.3-1
yelp                      | 3.16.1-1


Suggests           (Version) | Installed
============================-+-===========
gedit-plugins                |



--- Output from package bug script ---
Active plugins:
  - 'spell'
  -  'time'
  -  'modelines'
  -  'docinfo'
  -  'filebrowser'

No plugin installed in /home/philipp.

Module versions:
  - glib                  2.44.1
  - gtk+                  3.16.6
  - gtksourceview
  - pygobject
  - enchant
  - iso-codes             3.61
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/x-tex
Size: 662 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20151004/5e0446bb/attachment.tex>


More information about the pkg-gnome-maintainers mailing list