-
Notifications
You must be signed in to change notification settings - Fork 460
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
Port to GNOME 40. #1402
Port to GNOME 40. #1402
Conversation
I have one suggestion. Show applications button should show apps grid instead applications overview. Double clicking is annoying. |
probably theme bug. also in GNOME 40, dash theming now done in |
I'm having trouble accessing the settings menu for the Intelligent Autohide preference. The settings page simply wont open. Might be a dependency that I'm missing, have any clues? Would like to set it to dodge all windows. |
I make no promises about functionality 🤣 this is very much alpha quality. But I'm working through the various bugs and quirks. Two big changes in 40 are how the dock background is handled and that the dock is no longer "attached" to a side of the screen. The latter is maybe a configuration option (makes it a bit more complicated), but I really like the floating look personally.
|
Also if it wasn't clear, it does help to record issues here! Dash to Dock has many, many combinations of settings and it is hard to QA all of them so thank you 🥳 Do check if something has been mentioned previously though 😸 Latest commit should allow the Show Apps icon to be moved. It also changes the default side the dock is on, so if you're used to the left you may have to change the setting upon upgrading. |
The floating looks nice in general, but it's weird for panel mode. |
Good to know! Anyhow the issues seem to have been solved in the latest version. This is epic and you made my GNOME 40 setup work so nice! Only issue for me personally is that the launcher icons move around when you switch between applications running. Don't know if the new dash allows for any changes there but would be practical to change behaviour none the less. |
I am very fond of this extension, and I appreciate the work being done to port it to gnome 40. When testing on a fedora 34 beta new installation most things work (dock autohides, shows on hover, etc), but the dock has no icons at all. I can tell it's there because the left and right edges come together to form a small pill, but other than that it's empty. My installation method: I'll gladly offer any further info or try some changes. |
If you can provide any dash-to-dock logs from If I had to hazard a guess, try setting |
Sure thing: journalctl.txt
Your guess was spot on. I didn't bother to check if any settings were specific, but now it works as I expected. Thank you, and keep up the good work! |
This fixed it for me too (also Fedora 34 beta). Sweet. :) |
its working good enought. but once i click on app grid, there is no way to go back to desktop, and relogin is needed. But when using WIN button or activity corner, i dont get any issues at all. |
@ewlsh : Bro Thank u so much 👍 |
Updates:
|
@ewlsh I was waiting for this Pull Request. Thank you very much for your work! |
One thing to note: I had "Show mounted volumes and devices" enabled and that caused none of the applications icons to be shown. Only the "show applications" icon was there. Once I disabled this option, it burst into life. |
I can't reproduce this, but I'll find my flash drive and unplug it a lot and see what happens 😸 |
I got another bug. After last commit separator between favourites and running apps is really big. |
For anyone interested, as of today, dash-to-panel is quite usable in this fork: I use both extensions. |
Here is the repository, the changes are in branch |
Sorry for the stupid question, but for the not developers, how would i pull this? Not sure how to execute step two
|
I installed it like this:
And updating:
However, this method is more convenient: https://stackoverflow.com/a/30584951/8258888 |
…ager We're using the dockmanager singleton for all the shared bits, but not for the remote-model that is shared by the various docks, dashes and launcher icons. We can instead just expose it publicly as the DockManager instance and get it once when needed.
We're using the same class for handling both location icons and app icons, while we can manage this in a nicer way using subclassing. As per this we can properly monitor for running and focused state of such apps, fixing the case in which a location is opened but its icon isn't highlighted.
Given that the actual class names will be now auto-generated by the shell there's no risk of clashing with other extensions
…apps We're customizing the dock icons so that we can only consider their location windows, however we can handle this at a lower level by changing the way the shell apps behave, by patching the location apps methods, overriding their defaults. As per this we can reduce the DockLocationAppIcon customizations.
Location applications doesn't support opening new windows, as nautilus will by default try to reuse the mostly recently used window. We may support this in future, once we've added to nautilus a new API for handing such scenario.
Override the app-ID value for location apps by overriding the appInfo relative vfunc for location icons. We also need to delay updating the windows though to avoid recursion
…-manager We have location applications that are currently joined with the file manager but this is not something expected if locations and/or trash are enabled, so start supporting splitting this, integrating the application with the panel too. This can be now easily done by just returning the location application as the focused application when this is the case.
Ensure that the windows tracker will notify the whole shell when the active application has changed, as per this we can just rely on the same logic for both real applications and location applications
By overriding further AppSystem and WindowTracker methods we can fully expose the location applications as standalone applications in both app switchers and window overview selection.
When using the locations isolation mode we should just not consider location windows as part of nautilus, we might have done this at dock icon level, but it's better to just handle this for the whole shell so that nautilus is never considered as running when a location window is there. To do this we need to patch the nautilus shell app as we're doing with the location apps, but now we're using the inject utilities in order to be able to easily revert our monkey-patching once the extension gets disabled.
We used to call this manually but failing to set the proper event timestamp in order to raise the confirmation dialog, that could have not been focused at times. So use the DBus API instead patching the launch_action accordingly.
After disabling the intelligent autohide, the barrier is not updated, so the dock is still automatically shown. Now the updateBarrier() method is called when enabling/disabling the intelligent auto-hide. Fixes: micheleg#1421
Sorry for taking longer to get this merged, but Michele is a bit busy and we waited till we could to leave him to handle the final merge. But I guess it's time to proceed. @darkdragon-001 I'm the one in charge for GNOME packaging in ubuntu, and so this is already handled in the https://github.com/micheleg/dash-to-dock/tree/ubuntu-dock branch (and related packaging work in debian's salsa). @oreo639 thanks for catching it, fixed! 41 support is also coming. But we'll handle it in another branch. |
🎉 Do we already have a release? 😊 |
After cloning the git, |
Still cannot find Dash to Dock on the GNOME Extension site. I guess this hasn't been released, right? |
|
You have to reload the desktop. (logout and log back in on wayland, alt+f2 and |
Thanks for the tip. It works now. But still, there ought to be better error message than a big fat "Error" without details. |
@yookoala I don't think this is a customizable error on the extension level, but I absolutely agree that seeing a big fat "Error" is frustrating most of the time. |
This only achieves "bare minimum" functionality.Settings aren't all tested (the Unity style stuff is probably broken, for example), the settings UI needs fixing, and it is very much WIP.The most basic functionality is usable though - and I'll be adding to this branch (though other contributors' work is welcome)We're approaching initial release quality 🥳
Known issues:
I'm considering disabling it for now as other extensions support the "top" experience betterUPDATE: It is mainly only broken in shrink mode now)2:1
🤔(will update as issues get fixed or found)
Known trade-offs: