[Desktop-packages] [Bug 1244338] Re: External tool won't run if "Save" is set to "All documents"

2014-08-26 Thread and...@drup.org
I can reproduce this very easily: -Open two documents in gedit -Change both of them -run a script (external tool) that is marked to save just the current document Both documents will be saved. -- You received this bug notification because you are a member of Desktop Packages, which is subscribe

[Desktop-packages] [Bug 1244338] Re: External tool won't run if "Save" is set to "All documents"

2014-02-07 Thread and...@drup.org
Thanks Kris. The fix has been commited. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1244338 Title: External tool won't run if "Save" is set to "All documents" Status in “gedit” pack

[Desktop-packages] [Bug 1244338] Re: External tool won't run if "Save" is set to "All documents"

2014-02-07 Thread and...@drup.org
Please let's get this committed upstream. Could you head over to https://bugzilla.gnome.org/show_bug.cgi?id=659437 (You'll have to create an account if you don't have one but this is a very quick process) Just add a comment that says: -You confirm the bug exisits -This patch fixed it for you. Th

[Desktop-packages] [Bug 1244338] Re: External tool won't run if "Save" is set to "All documents"

2014-02-06 Thread and...@drup.org
Going through the code I figured out the problem that is that is causing save to fail when set to "All documents"--a classic Python bug. If an item is deleted from a list while that list is being looped through, then it's like sawing off the branch of a tree you are sitting on. Here is the code:

[Desktop-packages] [Bug 1244338] Re: External tool won't run if "Save" is set to "All documents"

2014-02-06 Thread and...@drup.org
I have filed a patch on bugzilla. If you can't wait for the upstream fix to filter down, here is a script to apply it locally: http://drup.org/gedit-external-tools-fails-save-documents -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ged

[Desktop-packages] [Bug 1244338] Re: External tool won't run if "Save" is set to "All documents"

2014-02-06 Thread and...@drup.org
It looks like the bug was caused by this patch: https://bugzilla.gnome.org/show_bug.cgi?id=659437 I have created an account and posted comment #10 Here is my explanation of why the patch is broken: This code is working in the opposite way it is intended to. I.e. only the unchanged documents are b

[Desktop-packages] [Bug 1244338] Re: External tool won't run if "Save" is set to "All documents"

2013-12-27 Thread and...@drup.org
I'm getting exactly the problem that Kris reports above. It seems that there is an inversion in the logic: If the document has *not* changed, then it saves it. If it has changed then it does not get saved. -- You received this bug notification because you are a member of Desktop Packages, which

[Desktop-packages] [Bug 890041] Re: "Untitle Document" opens when opening a document using `gksu[do] gedit /path/to/file"`.

2013-04-20 Thread and...@drup.org
*** This bug is a duplicate of bug 796076 *** https://bugs.launchpad.net/bugs/796076 When opening gedit from dolphin you can fix this annoying problem by modifying the line that lauches the program. Change: gedit %U into: gedit %U < /dev/null A similar fix for launching from the command line