atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
180 stars 4 forks source link

When a file is closed, title does not refresh #331

Open tobiastom opened 13 years ago

tobiastom commented 13 years ago

When you open a file inside choc and close it again (with the X inside the active sidebar, or via ⌘W), the document is closed, but the title still displays the filename (and it's related menu). The result is displayed on this screenshot:

http://tpt.vc/9DMO

mjbaldwin commented 12 years ago

This has a second problem, which is that you can't use "Move to Trash" when right-clicking on the file in the sidebar. Chocolat complains that Chocolat cannot delete a file if it is open in a document. with an amusing Dammit. button. :)

But the file isn't open, I already closed it. I'm forced to open a different document in order to delete the old one, even though I'd closed it.

tobiastom commented 11 years ago

The cannot delete thing is gone. Still the title does not change.

atg commented 11 years ago

Yeah this is a bug in Cocoa. Once you set the title you can't unset it.

atg commented 11 years ago

Idea: set it to the project directory

tobiastom commented 11 years ago

+1, as it was my idea :)

locks commented 11 years ago

I disapprove of this cabala.