! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Fix wrapping of words longer than the horizontal space
Status:
RESOLVED: DUPLICATE
Product:
Mousepad
Component:
General

Comments

Description Pal Tamas Acs 2020-05-11 23:44:50 CEST
Created attachment 9853 
mousepad-view.c: Changed GtkTextView wrap mode to  GTK_WRAP_WORD_CHAR

This is caused by a change in GtkTextView itself and it affects both GTK2 and GTK3. GTK_WRAP_WORD won't wrap long words any more, only GTK_WRAP_WORD_CHAR will. Mousepad has been affected for years. Debian 8.0 with GTK+ version 2.24.25-3 is the last properly working one.

If you keep your notes in mousepad and there is e.g. a long URL, it will not be wrapped any more and the horizontal scroll area will be extended that makes the whole application really inconvenient to use.

I've created a patch that changes this unwanted behavior back to the original. Please consider merging it to master.
Comment 1 Theo Linkspfeifer editbugs 2020-05-12 08:19:06 CEST
Thanks for the patch.

This report is a duplicate of bug 15372 though.
Comment 2 Theo Linkspfeifer editbugs 2020-05-22 11:40:31 CEST
Please add your comment and patch to the linked report.

*** This bug has been marked as a duplicate of bug 15372 ***

Bug #16832

Reported by:
Pal Tamas Acs
Reported on: 2020-05-11
Last modified on: 2020-05-22

People

Assignee:
Matthew Brush
CC List:
0 users

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.4.x

Attachments

Additional information