Bug 175073

Summary: Request for "Plain-text Mode"
Product: [Unmaintained] kjots Reporter: Dirk Sola <simastrick>
Component: generalAssignee: Stephen Kelly <steveire>
Status: RESOLVED FIXED    
Severity: wishlist CC: simastrick, zrchrn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dirk Sola 2008-11-13 20:02:43 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Unlisted Binary Package

Hello, thank you very much for KJots. I and my wife have used it almost everyday since kde3, when we started using linux.

When we upgraded to kde4, we were dismayed to find that when creating a new line (pressing enter) in the editor, KJots double-spaces the lines by default. This is usually not what we want. I found that I can do CTRL+ENTER to avoid the double-space, but this gets tiring when typing a lot.

Another thing is that when copying text from a webpage, the webpage formatting is preserved, which is often undesirable for me. (I realize there is already a WISH for this). 

My wish is for the ability to make my kjots work in "plain-text mode" (or at least make it look like plain text even if it's actually Richtext in the background). It would be very nice if I could configure KJots so that it only adds formatting when I use the formatting tools. 

I'm thinking about a checkbox option like: "Use plain-text by default (but with the ability to add formatting explicitly by using the toolbar or keyboard-shortcuts)"

I hope this is possible!
Comment 1 Dirk Sola 2009-01-12 15:10:03 UTC
Okay, it's me again. This is rather late (sorry), but I want to revise my bug report above. The double-spacing happens only in pages imported from kde3. It doesn't happen in newly-created pages.
Comment 2 Dirk Sola 2009-01-12 15:13:48 UTC
(In reply to comment #1)
> Okay, it's me again. This is rather late (sorry), but I want to revise my bug
> report above. The double-spacing happens only in pages imported from kde3. It
> doesn't happen in newly-created pages.
> 

^ ack! I meant "... pages imported from KDE3.5" 
Comment 3 AhmedG 2009-03-11 05:44:01 UTC
Please try this again using qt4.5 or the latest qt-copy from svn. (That is to say compile kjots from svn using qt 4.5). I had a few issues with double spaced lines that were fixed using qt 4.5.  If you are unfamiliar with this process then wait for your distro to realease qt 4.5 and try again. 

Thanks,
Ahmed Ghonim
Comment 4 Stephen Kelly 2010-02-16 10:57:33 UTC
SVN commit 1090867 by skelly:

Merge KJots application and plasmoid from akonadi-ports into trunk where development will continue.

This is still very much a work in progress.

CCMAIL: kde-pim@kde.org
BUG: 162268
BUG: 175073
BUG: 183576
BUG: 195606



 M  +6 -1      CMakeLists.txt  
 A             cmake/modules/FindGrantlee.cmake   branches/work/akonadi-ports/kdepim/cmake/modules/FindGrantlee.cmake#1035244
 M  +44 -11    kjots/CMakeLists.txt  
 M  +6 -7      kjots/KJotsMain.cpp  
 M  +2 -2      kjots/KJotsMain.h  
 D             kjots/flatcollectionproxymodel.cpp  
 D             kjots/flatcollectionproxymodel.h  
 M  +27 -10    kjots/kjotsbookmarks.cpp  
 M  +5 -5      kjots/kjotsbookmarks.h  
 M  +4 -38     kjots/kjotsbrowser.cpp  
 M  +1 -10     kjots/kjotsbrowser.h  
 M  +89 -19    kjots/kjotsedit.cpp  
 M  +11 -9     kjots/kjotsedit.h  
 M  +20 -18    kjots/kjotslinkdialog.cpp  
 M  +2 -5      kjots/kjotslinkdialog.h  
 A             kjots/kjotsmodel.cpp   branches/work/akonadi-ports/kdepim/kjots/kjotsmodel.cpp#1035208 [License: LGPL (v2+)]
 A             kjots/kjotsmodel.h   branches/work/akonadi-ports/kdepim/kjots/kjotsmodel.h#1035208 [License: LGPL (v2+)]
 M  +3 -2      kjots/kjotspart.cpp  
 M  +2 -2      kjots/kjotspart.h  
 A             kjots/kjotstreeview.cpp   branches/work/akonadi-ports/kdepim/kjots/kjotstreeview.cpp#1041745 [License: LGPL (v2+)]
 A             kjots/kjotstreeview.h   branches/work/akonadi-ports/kdepim/kjots/kjotstreeview.h#1041745 [License: LGPL (v2+)]
 A             kjots/kjotswidget.cpp   branches/work/akonadi-ports/kdepim/kjots/kjotswidget.cpp#1035259 [License: LGPL (v2+)]
 A             kjots/kjotswidget.h   branches/work/akonadi-ports/kdepim/kjots/kjotswidget.h#1035259 [License: LGPL (v2+)]
 M  +4 -1      kjots/knowitimporter.cpp  
 M  +1 -3      kjots/knowitimporter.h  
 A             kjots/note.cpp   branches/work/akonadi-ports/kdepim/kjots/note.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/note.h   branches/work/akonadi-ports/kdepim/kjots/note.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid (directory)   branches/work/akonadi-ports/kdepim/kjots/plasmoid#1040650
 M  +11 -1     kjots/plasmoid/CMakeLists.txt  
 A             kjots/plasmoid/akonotes_applet.ui   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_applet.ui#1041125
 A             kjots/plasmoid/akonotes_list.desktop   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_list.desktop#1045747
 A             kjots/plasmoid/akonotes_note.desktop   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_note.desktop#1045747
 A             kjots/plasmoid/akonotes_noteapplet.cpp   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteapplet.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/akonotes_noteapplet.h   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteapplet.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/akonotes_noteslistapplet.cpp   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteslistapplet.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/akonotes_noteslistapplet.h   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteslistapplet.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/plasmatreeview.cpp   branches/work/akonadi-ports/kdepim/kjots/plasmoid/plasmatreeview.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/plasmatreeview.h   branches/work/akonadi-ports/kdepim/kjots/plasmoid/plasmatreeview.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/stickynote.svgz   branches/work/akonadi-ports/kdepim/kjots/plasmoid/stickynote.svgz#1045747
 A             kjots/themes (directory)   branches/work/akonadi-ports/kdepim/kjots/themes#1040526


WebSVN link: http://websvn.kde.org/?view=rev&revision=1090867