Geany silently refuses to open file instead of giving me the choice what to do

Bug #738672 reported by Dominik Stadler on 2011-03-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
geany (Ubuntu)

Bug Description

Binary package hint: geany

When I try to open a file that seems to have characters in a different encoding, geany silently refuses to open the file, only the status area has a comment about it. Also if I force the encoding, it just cuts off at the first non-matching character, without telling me what happened.

As a user, I would love to be informed about such a thing, currently I just wonder why the document is not opened, only when I check the status-area I see that it failed to open for some reason.

I see various options to improve this:
- provide a dialog to tell the user about a file that is not (completely) opened
- provide a way to display the invalid characters differently and still load the document in full, not concatenating it mid-document

Changed in geany (Ubuntu):
status: New → Triaged
Andreas Moog (ampelbein) wrote :

Dominik, can you attach the file in question either here or on the upstream tracker at ?

Done, thanks for the reminder!

Roger James (rogerjames99) wrote :

It only takes a single null character to throw geany. Attached a simple test file.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.