GNOME Bugzilla – Bug 669976
Close Print Preview should show previous error info bars
Last modified: 2015-06-10 18:40:41 UTC
Original report: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/929554 TEST CASE: 1) Open any file with incorrect encoding (e.g. any binary file) Result: 'There was a problem opening..' toolbar appears 2) Select 'File - Print Preview' 3) Close print preview Result: 'There was a problem opening..' toolbar is hidden Expected: gedit is returned to the initial state - the toolbar with encoding selection is displayed DistroRelease: Ubuntu 12.04 Package: gedit 3.3.3-0ubuntu1
I confirm this bug.
the bug is that print/print preview should not be sensitive when such error is displayed
after investigating a bit this is due to the fact that the conversion error does not set the tab in an error state. If we set it to an error state on the other hand the textview is not shown... we need to see if this can be fixed or we need to add a new state for the conversion error
Fixed: https://git.gnome.org/browse/gedit/commit/?id=df24f176e4ea94c47d61813e116f21ee8a2bf1ec https://git.gnome.org/browse/gedit/commit/?id=aa59a67a690dbb60323a3d3e38a3cea068cdacd9