! 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 !
Notes plugin silently cuts note text to 8192 (?) characters
Status:
RESOLVED: FIXED
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Michal Krause 2007-05-30 10:04:49 CEST
Notes plugin silently cuts note text to 8192 characters during saving to a file. Everything seems to to be OK until plugin is runing (whole text is displayed), but after restart of Xfce, notes are loaded from file and thus shortened to 8192 characters.

In my opinion, plugin should not allow user to enter note longer than 8192 characters or it should allow notes of any length (which is better solution).
Comment 1 Michal Krause 2007-05-30 10:07:40 CEST
I forgot to specify versions: I use Xfce 4.4.0 and xfce4-notes-plugin 1.4.1 on Xubuntu 7.04.
Comment 2 Alexey Privalov 2007-06-09 04:42:17 CEST
one small note.

it couldn't be saved with more 8192 chars per one page. Everything is fine with two, three and so on pages with 8192 characters per each page...
it seems that smth is a little bit strange with gtk_text_view_get/set_buffer()

another strange behaviour. when I post/add many chars to a note then the plugin takes many CPU usage:
97369  1  97    0 29152K 11816K select   1:02 18.70% xfce4-notes-plugin

have xfce-4.4.1_1 and xfce4-notes-plugin-1.4.1_2 on fBSD 6.2.
Comment 3 Mike Massonnet editbugs 2007-09-03 17:19:06 CEST
I'm working on a new design.  The notes will be saved separately in files.  In the same time I'm implementing multiple windows.

To sum up we have:
one window = one directory with notes
one note = one file
Comment 4 Mike Massonnet editbugs 2007-10-11 13:52:17 CEST
Changes have been commited to trunk.  The notes plugin now uses files as container for the notes.

Bug #3302

Reported by:
Michal Krause
Reported on: 2007-05-30
Last modified on: 2009-07-15

People

Assignee:
Mike Massonnet
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information