New line in title is allowed

Bug #905533 reported by Andrea Basso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Footnote
Fix Committed
Undecided
Andrea Basso

Bug Description

If you're writing the title of a note and press Enter you create a new line in the tile, while this shouldn't be allowed and it should set that title and move the focus on the body of the note.

Changed in footnote:
assignee: nobody → Andrea Basso (voluntatefaber)
Revision history for this message
Andrea Basso (voluntatefaber) wrote :

This should fix the bug, now when user press Enter the focus moves to the body TextView.
When this happens though Gtk raises a warning* I wasn't able to remove, but Footnote keeps running fine.

* the warning is "Invalid text buffer iterator"

Changed in footnote:
status: New → Fix Committed
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

Andrea your patch is wrong! You should generate it running "bzr diff > patch" in the main source code directory and attach it here

Revision history for this message
Andrea Basso (voluntatefaber) wrote :

Sorry, I created it using diff and not bzr diff.

Anyway, this should work.

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

Thank you I pushed the fix

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.