GNOME Bugzilla – Bug 738544
Conflict when opening a file in gedit from terminal while the Save As dialog is opened
Last modified: 2020-11-24 09:57:41 UTC
Scenario: 1. Open Gedit (new empty document); 2. Open "Save as" dialog and leave it opened; 3. Now, open a terminal and invoke: 3.1 $ echo Hello > /tmp/foo.txt 3.2 $ gedit /tmp/foo.txt 4. Return to Gedit (to its "Save as" dialog) 5. Save a file as "/tmp/bar.txt" And now, your /tmp/bar.txt will contain "Hello" (initially there was an empty document). In other words, while Gedit is awaiting a response from "Save as" dialog, and we send to it a new file to open, Gedit replaces our empty document with the contents of that file, and we saving it instead of saving an empty document. The issue was initially discovered in version 3.10.4, and I was able to reproduce it with v3.14.0.
Created attachment 288545 [details] segfault full back trace
hi, can't confirm, works for me but Gedit exits with a segfault ( bt attached )
I can confirm it with 3.10.4 from Ubuntu 14.04 repos.
Mass-closing of all gedit bugzilla tickets. Special "code" to find again all those gedit bugzilla tickets that were open before the mass-closing: 2bfe1b0590a78457e1f1a6a90fb975f5878cb60064ccfe1d7db76ca0da52f0f3 By searching the above sha256sum in bugzilla, the gedit contributors can find again the tickets. We may be interested to do so when we work on a specific area of the code, to at least know the known problems and possible enhancements. We do this mass-closing because bugzilla.gnome.org is being replaced by gitlab.gnome.org.