Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving orangered while minimized #13

Open
McNerdius opened this issue Jul 24, 2011 · 3 comments
Open

Receiving orangered while minimized #13

McNerdius opened this issue Jul 24, 2011 · 3 comments

Comments

@McNerdius
Copy link

if chrome is minimized and an orangered indicator is received, and clicked on - the URL is navigated to correctly, but is there a way to restore the window's visibility ? clearly the user wants to.

@Kerrick
Copy link
Owner

Kerrick commented Jul 24, 2011

If you look at line 933 of common.js, I have tried to do this.

chrome.tabs.create({'url': 'http://' + reddit.domain + '/message/unread/', 'selected': true});

According to the Chrome Extension API, that should make it be the selected tab in the window. However, I don't think I can make that window get focus if it hasn't already.

selected ( optional boolean )
Whether the tab should become the selected tab in the window. Defaults to true

@Kerrick Kerrick closed this as completed Jul 24, 2011
@Kerrick Kerrick reopened this Jul 24, 2011
@Kerrick
Copy link
Owner

Kerrick commented Jul 24, 2011

I'm going to leave this open as a "known issue."

If you want this bug to be fixed, please star the issue on the Chromium bug tracker.

@Kerrick
Copy link
Owner

Kerrick commented Apr 14, 2013

Looks like the chrome bug was fixed, but now it's active instead of selected. I'll need to change the Mostly Harmless code to the new API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants