rzyns / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Proxy icon disabled when active split is saved but inactive split is not #307

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
# What steps will reproduce the problem?

Open a new MacVim window with two documents in splits, e.g.
:e ~/.vimrc
:sp /etc/hosts

Make unsaved changes to one of the documents, e.g type this in the ~/.vimrc 
buffer:
iabc<esc>

Now jump to the other, unchanged document (ctrl+w, ctrl+w).

# What is the expected output? What do you see instead?

I expect the proxy icon (in the title bar of the app, before the filename) for 
the unchanged document (e.g. /etc/hosts) to be enabled, so I can e.g. drag it 
to the Desktop.

Instead, the proxy icon for e.g. /etc/hosts is disabled eventhough I only have 
unsaved changes in a different split window containing my ~/.vimrc buffer.

# What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

MacVim Custom Version 7.3 (53), installed via Homebrew.

OS X 10.6.4.

Original issue reported on code.google.com by henrik%n...@gtempaccount.com on 14 Dec 2010 at 1:21

GoogleCodeExporter commented 9 years ago
I see...this is actually the result of a conscious decision to make the dot 
appear in the red "close" button whenever there is some unsaved work - I did 
not realize this broke some of the proxy icon functionality.  I'll have to look 
into changing this behavior.

Thanks for the report!

Original comment by bjorn.winckler@gmail.com on 14 Dec 2010 at 6:08

GoogleCodeExporter commented 9 years ago
I have pushed a fix for this problem now.

Original comment by bjorn.winckler@gmail.com on 19 Dec 2010 at 11:46

GoogleCodeExporter commented 9 years ago
Thanks a lot!

Original comment by henrik%n...@gtempaccount.com on 19 Dec 2010 at 7:38