baumgarr / nixnote2

Nixnote - A clone of Evernote for Linux
http://www.nixnote.org
Other
1.12k stars 158 forks source link

Can't set font when selecting all (or much) #359

Open bedohave opened 7 years ago

bedohave commented 7 years ago

When selecting all (or more than a line or two; can't quite pin down when this triggers), I can't then set the font size for the selected text.

Dist: Ubuntu Budgie 17.04 Windowing: Gnome Installed via "Software" (store/pkg mgr) Issue appearing in all notes No notes are shared

tail of debug:

DEBUG 2017-08-08 12:35:03.816 ( html/enmlformatter.cpp @ 236 ) Starting tidy true DEBUG 2017-08-08 12:35:03.817 ( html/enmlformatter.cpp @ 241 ) Stopping tidy false Return Code: QProcess::ProcessState(NotRunning) DEBUG 2017-08-08 12:35:03.817 ( html/enmlformatter.cpp @ 253 ) "line 3 column 137 - Warning: isn't allowed in elements" DEBUG 2017-08-08 12:35:03.817 ( html/enmlformatter.cpp @ 253 ) "line 3 column 35 - Info: previously mentioned" DEBUG 2017-08-08 12:35:03.817 ( html/enmlformatter.cpp @ 253 ) "line 3 column 144 - Warning: discarding unexpected " DEBUG 2017-08-08 12:35:03.817 ( html/enmlformatter.cpp @ 253 ) "" DEBUG 2017-08-08 12:35:03.820 ( html/enmlformatter.cpp @ 805 )

DEBUG 2017-08-08 12:35:03.822 ( gui/nbrowserwindow.cpp @ 781 ) Valid Resource LIDS: DEBUG 2017-08-08 12:35:03.822 ( gui/nbrowserwindow.cpp @ 787 ) Old Resource LIDS: DEBUG 2017-08-08 12:35:03.822 ( gui/nbrowserwindow.cpp @ 800 ) Updating note content DEBUG 2017-08-08 12:35:03.880 ( utilities/noteindexer.cpp @ 51 ) Indexing note: "this" DEBUG 2017-08-08 12:35:04.003 ( gui/nbrowserwindow.cpp @ 806 ) Beginning thumbnail DEBUG 2017-08-08 12:35:04.069 ( gui/nbrowserwindow.cpp @ 808 ) Thumbnail compleded DEBUG 2017-08-08 12:35:04.069 ( gui/nbrowserwindow.cpp @ 812 ) Updating cache DEBUG 2017-08-08 12:35:04.069 ( gui/nbrowserwindow.cpp @ 819 ) Leaving saveNoteContent() DEBUG 2017-08-08 12:35:04.070 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2017-08-08 12:35:04.077 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2017-08-08 12:35:04.086 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2017-08-08 12:35:04.086 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2017-08-08 12:35:04.086 ( filters/filterengine.cpp @ 69 ) Filtering notebooks DEBUG 2017-08-08 12:35:04.094 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2017-08-08 12:35:04.094 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2017-08-08 12:35:04.102 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2017-08-08 12:35:04.102 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2017-08-08 12:35:04.102 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2017-08-08 12:35:04.103 ( nixnote.cpp @ 1568 ) Refreshing data DEBUG 2017-08-08 12:35:04.103 ( gui/ntableview.cpp @ 458 ) Valid LIDs retrieved. Refreshing selection DEBUG 2017-08-08 12:35:04.108 ( gui/nbrowserwindow.cpp @ 383 ) Setting note contents to 3900 DEBUG 2017-08-08 12:35:04.108 ( gui/nbrowserwindow.cpp @ 395 ) this.lid: 3898 3900 DEBUG 2017-08-08 12:35:04.108 ( gui/nbrowserwindow.cpp @ 403 ) editor is dirty DEBUG 2017-08-08 12:35:04.108 ( gui/nbrowserwindow.cpp @ 414 ) Getting note DEBUG 2017-08-08 12:35:04.113 ( gui/nbrowserwindow.cpp @ 429 ) Checking if note is in cache DEBUG 2017-08-08 12:35:04.113 ( gui/nbrowserwindow.cpp @ 445 ) Note not in cache DEBUG 2017-08-08 12:35:04.113 ( gui/nbrowserwindow.cpp @ 451 ) rebuilding note HTML DEBUG 2017-08-08 12:35:04.119 ( gui/nbrowserwindow.cpp @ 454 ) criteria search string set DEBUG 2017-08-08 12:35:04.119 ( gui/nbrowserwindow.cpp @ 459 ) adding to cache DEBUG 2017-08-08 12:35:04.119 ( gui/nbrowserwindow.cpp @ 468 ) Setting up note title DEBUG 2017-08-08 12:35:04.123 ( gui/nbrowserwindow.cpp @ 473 ) Setting editor contents DEBUG 2017-08-08 12:35:04.125 ( gui/nbrowserwindow.cpp @ 481 ) Setting attributes DEBUG 2017-08-08 12:35:04.125 ( gui/nbrowserwindow.cpp @ 516 ) Setting tags DEBUG 2017-08-08 12:35:04.146 ( gui/nbrowserwindow.cpp @ 535 ) Setting notebook DEBUG 2017-08-08 12:35:04.146 ( gui/nbrowserwindow.cpp @ 538 ) Setting URL DEBUG 2017-08-08 12:35:04.146 ( gui/nbrowserwindow.cpp @ 541 ) Setting note attributes DEBUG 2017-08-08 12:35:04.146 ( gui/nbrowserwindow.cpp @ 550 ) Calling set source DEBUG 2017-08-08 12:35:04.147 ( gui/nbrowserwindow.cpp @ 560 ) Checking thumbanail DEBUG 2017-08-08 12:35:04.177 ( gui/nbrowserwindow.cpp @ 570 ) Exiting setContent DEBUG 2017-08-08 12:35:05.959 ( gui/nbrowserwindow.cpp @ 907 ) Have URL?: false DEBUG 2017-08-08 12:35:05.959 ( gui/nbrowserwindow.cpp @ 939 ) Has HTML: true "this that the other thing to test

We can value ourselves by what we do. Or by who we are. Who we are leads to do. It's not describable. But we can feel it, know it, know we are valuable just because. (see more notes in random note in the middle of the Bragg English book on Kindle) " DEBUG 2017-08-08 12:35:05.959 ( gui/nbrowserwindow.cpp @ 940 ) Has Color: false DEBUG 2017-08-08 12:35:05.960 ( gui/nbrowserwindow.cpp @ 941 ) Has Url: false DEBUG 2017-08-08 12:35:05.960 ( gui/nbrowserwindow.cpp @ 945 ) Url: "this \nthat\nthe other\nthing\nto \ntest\n\nWe can value ourselves by what we do. Or by who we are. Who we are leads to do. It's not describable. But we can feel it, know it, know we are valuable just because. (see more notes in random note in the middle of the Bragg English book on Kindle)"

baumgarr commented 7 years ago

I can't recreate your problem, so I must not understand something.

You are saying that if you select multiple lines, you cannot change the font size? What font are you using and does it happen regardless of the font you choose, or just certain fonts?

bedohave commented 7 years ago

Hi,

It seems to happen regardless of font (either the existing one or the one I'm trying to set). It also happens when I try to change the font size. When I select less than a line of text, I can change the font or the font size.

And sometimes (ugh, I know, "sometimes") I can select two lines and change the font but not the font size. Othertimes, selecting any more than one line means I can't change the font or font-size.

Mike

On Tue, Aug 8, 2017 at 10:08 PM, baumgarr notifications@github.com wrote:

I can't recreate your problem, so I must not understand something.

You are saying that if you select multiple lines, you cannot change the font size? What font are you using and does it happen regardless of the font you choose, or just certain fonts?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/baumgarr/nixnote2/issues/359#issuecomment-321132053, or mute the thread https://github.com/notifications/unsubscribe-auth/AEb3V4fnEX8MmGaXLIvq4LSwVruqTK16ks5sWRSZgaJpZM4Ow_31 .

baumgarr commented 7 years ago

I'll keep trying to reproduce it, but so far I have not been able. We're the notes created in NN as plain text notes, or did they come from some other client?

bedohave commented 7 years ago

Good question. I'll test on notes created by NN before sync, after sync. Also on notes created by Android, Windows, and Web.

On August 15, 2017 3:55:18 PM baumgarr notifications@github.com wrote:

I'll keep trying to reproduce it, but so far I have not been able. We're the notes created in NN as plain text notes, or did they come from some other client?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/baumgarr/nixnote2/issues/359#issuecomment-322571069

aproposnix commented 7 years ago

I'm currently having issues with fonts in notes as well. I simply cannot change the font in the notes. I've attached a video which shows me creating a new note, setting the font size, pasting text into the note and finally trying to resize.

vokoscreen-2017-08-22_10-57-14.mkv.zip

Edit: This may be a duplicate of #316

boo-yee commented 2 years ago

Fixed by https://github.com/robert7/nixnote2/pull/187, in a fork.