-
Notifications
You must be signed in to change notification settings - Fork 2
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
Don't close panel when I open a file option #18
Comments
I think it would work well, if it were possible to keep the panel (or if necessary it's window too) on top after clicking an item and then close it when I move the cursor off the panel. |
Panel closing is hardcoded: downloadsCmd_open: function DVIC_downloadsCmd_open()
{
this.dataItem.openLocalFile();
// We explicitly close the panel here to give the user the feedback that
// their click has been received, and we're handling the action.
// Otherwise, we'd have to wait for the file-type handler to execute
// before the panel would close. This also helps to prevent the user from
// accidentally opening a file several times.
DownloadsPanel.hidePanel();
}, It's possible to prevent this, but Also opening of a file may move focus to user's shell, and this may be handled as panel not under cursor. |
What does this mean in practice?
Can't firefox be made to stay on top? Or maybe get focus and reopen the panel immediately after a click. That way hovering doesn't need to be dealt with. |
I made some tests... It's even not possible to just move focus back to Firefox window, probably internal focus manager don't understand, that something external is now over browser windows. But it's possible to reopen panel after small delay. Looks strange, but panel (and only panel) appears over all windows.
Only using system API, for each OS, so this is difficult. Anyway, I've added two new hidden preferences: |
It doesn't seem to reopen to me. I set the other program to don't get focus when I open a file but it's still not reopening. |
You should set extensions.downloadPanelTweaker.reopenPanelAfterShowFile = true first (in about:config) and probably increase extensions.downloadPanelTweaker.reopenPanelAfterShowFile.delay. |
It was true. I tried 500/5000 just now, but nothing. |
Oops, I misread. I was thinking about "Open Containing Folder" item from context menu. |
It works with that. I just hardly ever use that feature. :) |
(we may receive clicks from context menu) (#18)
+ "reopenPanel.delayFallback" preference (#18)
Hello! |
In latest version you can increase extensions.downloadPanelTweaker.reopenPanel.delayFallback to try open panel again and again during that time.
Yes, unfortunately things around panels and focus works strange. All looks good between Firefox windows, but looks like Firefox don't understands about external windows. :( |
Cool.
Well, it's still better than having to reopen the panel manually. Maybe as a workaround a small 'x' button could be placed somewhere on the panel so at least it can be closed conveniently. |
(this is "Show All Downloads" button or summary progress) (related to #18)
It's difficult to modify interface... |
This doesn't work particularly well. I still need to switch back and forth between the two windows this way. (It would be more useful for if it worked on the panel.) Ps: |
Hello! |
Unfortunately no, only using OS API and therefore not trivial...
Oh, I'm lazy to create many builds and don't like to place binaries in sources.
Probably... I don't change things around focus. And API like |
@Infocatcher commented on 2014. dec. 5. 10:56 CET:
Oh well... One more thing. Can the middle click close thing be added to the whole panel? Middle klick doesn't seem to be doing anything on any part of the panel outside the footer, so I see no reason why not make it work on the whole panel. It'd only make it more convenient. |
(only with middleClickToRemoveFromPanel = false) (related to #18)
There is disabled by default "Middle-click to remove downloads from panel" option. |
Great! (I wasn't aware of that option.) |
One issue I notices is that if I close the panel manually with middle click within the fallback time, the reopening is activated. Which it shouldn't for manual closing. |
(works anyway, but isn't documented) (#18)
Indeed... Should be corrected now. |
Just grabbed the files from the master. But the middle click reopening doesn't seem to have changed. I can get the panel to reopen multiple times with middle click. |
Strange, works fine for me after fixes. |
Tried it with setting fallback to 10000. It's inconsistent but I ofte can get it to reopen 1-3 times if I quickly middle click on it, so not for the whole ten seconds. |
Strange, I'm unable to reproduce...
I see. Now reopening will be canceled after |
Okay. I can't reproduce it either now. Not even with the old build. |
Hello!
I think this extensin is great. One of the thing that makes it less usable then the old window is that I can't click multiple downloads to open them because the panel instantly closes.
And option to keep open the panel open until I click somewhere else or close it manually would be great for fixing this weakness.
The text was updated successfully, but these errors were encountered: