-
Notifications
You must be signed in to change notification settings - Fork 462
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
Option for showing open window previews on click action. #465
Comments
I think this is a duplicate of #400 |
Indeed, for the most part. Difference seems to be that I requested that it could be chosen to happen on left-click. |
Yes, it's getting a bit hard, as right-click, left-click and hover are possible options. Maybe a duplicate of this one #418 in that case? If you want left click, check out this branch: https://github.com/franglais125/dash-to-dock/tree/click_window_preview I'm still trying to make it nicer, but it works already. |
I get an error on that branch. I get this:
|
Did you install with What you are having is essentially a missing option in the schemas, which means it wasn't recompiled. |
Yeah, I forgot that, already fixed that though, but the window preview doesn't happen here.. the behavior is the same as when choosing to cycle between windows. |
Basically it should open the right-click menu and already have opened the "All Windows" tab. |
Yes :) |
It manages to show 1½ preview image and then it freezes up Gnome completely. |
Well, sorry to hear that. :( What version of Gnome-Shell do you use? And do you get any error messages that can help debug? |
Gnome 3.22.3 running on Arch. No errors, it just locks up :/ |
@Amplificator here is another branch, with a different implementation https://github.com/franglais125/dash-to-dock/tree/click_window_preview_fromPopupMenu This one actually opens the popupMenu (same as right click), but forces the window preview section to be open. |
@franglais125 that branch works flawlessly, thank you :) Would you mind making a pull request to have it merged to the official plugin? |
@Amplificator I actually don't like the latest branch I linked, as it feels more hacky: I'm opening the right-click menu and setting a variable to keep it forcibly open. The first solution was cleaner, while introducing more code. I now logged in into a X session and I can reproduce the freeze. I had no problems under Wayland! In the end, I'll try to come up with a better solution, from the point of view of the code, and that doesn't crash your shell ;) |
@Amplificator would you mind trying again the first branch? I pushed a fix which hopefully addresses your issue. |
@franglais125 This fix seems to work :) I actually like this version better because it only shows previews and none of the buttons like the 2nd branch you made did. Can it be made to not show above the main Gnome bar? When not transparent it hides whatever is on the bar. If it started just below it I think it would look better. Don't mind the semi-transparentness of it, that is not an issue but something I did to take the screenshot. |
Now that we have the "Show open windows previews" when we right click on an icon, it would be great if we could have it go straight to the "All Windows" section to immediately show the window previous.
And if we could set that as the left mouse click action that would be awesome :)
The text was updated successfully, but these errors were encountered: