gcollazo / BrowserRefresh-Sublime

This plugin will switch from ST2 and ST3 to Google Chrome, Google Chrome Canary, Safari, Firefox or Opera and reload the active tab
http://gcollazo.github.com/BrowserRefresh-Sublime
565 stars 62 forks source link

Command refreshes active tab on every open browser window #21

Closed skrivener closed 10 years ago

skrivener commented 11 years ago

Very glad you made this plugin, thanks, but...

Steps

Hit ctrl+shift+r.

Expected

Active tab of most recent browser window refreshes. Focus stays on sublime or switches to most recent browser window.

Outcome

Active tab of ALL non-minimized (not sure about minimized) browser windows refreshes. Each non-minized browser window is made active in turn as the refresh initiates.

Attempted

Googling ;) Setting the activate_browser to false in Default (Windows).sublime-keymap. Setting browser_name to "Google Chrome" in Default (Windows).sublime-keymap.

Workaround

Minimizing all windows except the one I want to reload. Not so convenient since I have the local template I'm converting in another window.

Additional

ST2 64 bit Build 2217 on Windows 7 Ultimate 64 bit. Default (Windows).sublime-keymap contents:

[
    {
        "keys": ["ctrl+shift+r"], "command": "browser_refresh", "args": {
            "auto_save": true,
            "delay": 0.5,
            "activate_browser": false,
            "browser_name" : "Google Chrome"
        }
    }
]

Thanks!

gcollazo commented 11 years ago

I'll review this over the weekend. Thanks for the details.

hackingoff commented 11 years ago

Still experiencing this issue.

Win 7 x64, Sublime Text build 2221.

gcollazo commented 10 years ago

Sorry about this. I won't be supporting windows in the future. Don't really use win so it's hard for me to test and fix stuff. If any of you are interested, I would love pull requests. Closing for now.