|
From: | John Donoghue |
Subject: | [Octave-bug-tracker] [bug #50559] GUI editor: drag & drop to code editor does not work properly |
Date: | Thu, 30 Mar 2017 14:31:09 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586 |
Follow-up Comment #5, bug #50559 (project octave): This works for me in fedora (and doesn't break windows) - attached Using [1] as a clue I am guessing that the mime format used by default is different on windows vs Linux (maybe some file explorer types??) We have code in the file_editor class that handles opening the files, but it (in the Linux tests I did) was not getting called when dropping a file onto the editor. Disabling drop on the QScintilla editor, so it passes it back to our widget that will accept it, calls our code and open the file as expected. [1] https://forum.qt.io/topic/12026/solved-drag-n-drop-a-file-in-an-editor-different-behaviour-on-linux-compared-to-windows-mac-os-x (file #40214) _______________________________________________________ Additional Item Attachment: File name: bug50559.patch Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50559> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |