Zim

Formatting lines without highlighting deselects middle mouse selected text

Bug #1718698 reported by mikey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

I use middle mouse - select text in one window, or the current, and paste it into another by clicking the middle mouse button - and Zim deselects when editing the document when it's not obvious that you have selected anything new.

Steps to reproduce:

The Gnome Terminal unhighlights text when it has been deselected - so it may be useful as the 2nd window to highlight.

1. Open Zim and another window to highlight from.
2. Select text in the second window - you should see it highlighted.
3. Type a line of text into the Zim window - without highlighting it - the text in the 2nd window should remain highlighted.
4. Press [Ctrl]+1 to make the current line an h1 title - the text in the 2nd window should immediately deselect.
5. Middle click no longer has any target to paste.

Version:

Linux - Fedora 25

INFO: This is zim 0.67
DEBUG: Gtk version is (2, 24, 31)
DEBUG: Pygtk version is (2, 24, 0)

Suggestions:

My guess would be that you are actually programmatically selecting the text in the GTK widget when you are applying the formatting to the current line, you should try to add formatting without selecting.

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.