-
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
Update for Gnome Shell 46 #2146
Update for Gnome Shell 46 #2146
Conversation
In fact, using this patch in Gnome Shell 45 results in a tiny, empty dock, and a lot of messages in journal like this one:
|
@ryzendew Are you using Gnome 45 or Gnome 46? |
Ok, there are some extra problems:
For some reason, it can't find that function. Also
I'll try to fix them... |
More things to fix:
|
Fixed the cairo_set_source_color bug. |
And fixed the signal problem. |
@ryzendew I'm unable to reproduce those errors. Can you try again with the new changes that I added, just in case? |
46 beta |
also no change with the newest change |
@ryzendew Can you tell me your dock configuration? (icon size...) |
this needs to be rebased on the beta cause the alpha is 1 month old and the beta has a few changes |
There are still several bugs in Gnome 46 beta:
|
The "push to show" option fails because the data sent from Gnome Shell is... odd... I don't know if it's a problem from Gnome Shell itself and its PressureBarriers, or is a problem due to being using VirtualBox. The problem is that, once the mouse cursor is at the screen border, it doesn't matter how hard you move it against the border, the distance indicated by the barrier is always 0.765625, so unless you achieve the required pressure in the first "push", the dock won't appear. |
I've been able to fix the Overview problem in Gnome 46. It was because I just added a check to set it to zero if the value is undefined, but maybe it is possible to just fully remove the parameter itself, because it seems to be used only when calling those two methods, and I can't find neither other places where those methods are called, nor other places where the property is set. @3v1n0 What do you think? |
I decided to convert this into a draft to avoid merges until it is fully finished. |
Ok, it is ready for reviewing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, mostly on style (but it does matter because CI will block it otherwise), but it works really well... So thanks a lot for working on this!
Great work but you missed the show apps icon it's still has black around it |
Ops!!! Fixed. |
Ah, for your info, I've landed this to ubuntu yesterday, so also consider the fixups I did at https://github.com/micheleg/dash-to-dock/tree/ubuntu-dock |
77ffa18
to
5b8787e
Compare
In case you weren't already aware, I'm missing the indicator next to running apps in the Ubuntu Dock. This is with 89ubuntu1 that is now in Ubuntu 24.04 LTS. And I'm using GNOME Shell 46~beta-0ubuntu2 and I'm still using the same Yaru theme as Ubuntu 23.10. |
@jbicha I don't understand... Can you put me a screen capture? |
This patch fixes the placement error in the app icons
While it's safe to use either in GNOME 46, it is not always safe to use (clutter_actor_)add_child directly in GNOME 45. Because the notification StBin requires to update its internal state wasn't added until gnome-shell@ed3b8d093e introduced in 46.alpha. At least (st_bin_)set_child remains the same in all GNOME versions, and is what the old (clutter_container_)add_actor used to call in GNOME 45. There may be other places where we need to change add_child to set_child for backward compatibility with StBin, but if they exist then they're not causing problems yet. Closes: https://bugs.launchpad.net/bugs/2056506 Fixes: 4945dbf
d167b92
to
42ee745
Compare
@karuboniru @garrett It should be fixed now. Thanks for testing it! |
If you're using >100% scale then there's also an upstream fix coming for the dots: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3245 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conditionally approved pending the dot-over-the-icon bug mentioned above. It still seems to be happening in GNOME 46.0 at least.
@vanvugt But, if I get it right, the patch for the dot problem is for Gnome Shell itself... |
@DScalpel I can't reproduce your bug... Did you update to the last version of THIS branch? |
It wasn't updated yet, right? I see no new releases. |
Can confirm it is working fine. |
That's a slightly different bug where the gap exists but is only half the correct size. Here however, the gap does not exist (or has negative spacing?). Try it on GNOME 46 again... |
Merged, but the dot bug on GNOME 46 is unresolved still. So it's not ready for release but at least we can all work more efficiently by focussing on the master branch. |
This pull request is closed. Please subscribe to #2160 instead. |
Did this get addressed? I'm still seeing it on my system, I'm happy to file a bug if that's not expected or tracked somewhere already :) |
That's being tracked in #2159 |
Tell me when the update for Gnome 46 will be released |
I already have Gnome 46. So I think you can download it. |
dash-to-dock for GNOME 46 has not been released yet. Most likely because there are other issues we'd still like to fix, and we're working on other projects too. |
add_actor() has been removed after being deprecated, and it must be replaced with add_child(). Also, there are two add methods that also have to be changed.
Tested in Gnome 46 alpha, in a Fedora RawHide system. I also tested it in Gnome 45, but doesn't work, so it must be only 46.