-
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
Gnome 3.38: Mutter: Fix allocation-changed signal from Clutter #1268
Conversation
@aimproxy Is that what you're looking for? Lines 219 to 228 in 0d54896
Lines 1029 to 1035 in 0d54896
|
Not quite sure, u didn't mention any line on the code... I did this PR because when I was installed fedora rawhide the extension was not working properly cause of allocation flags. But now it works with the master version of the repo. I didn't have the time to read the code on the links, please mention a specific line so I can know what u talking about. Sorry for my bad English 😂 |
@aimproxy I have tried your fix and it works for me with the exception of Show Application button. Do you have any additional code to test for this button I can try? I can post a review of your PR, but that would probably not get your code merged, as I am not part of the team? |
Well, I didn't figure out where was the code for the show application button, I didn't quite have the time to look more into the code. But I think it will be great testing the fix with the last version of gnome, and see what's really the problem is with the show application button. |
@aimproxy where is the code for the Show Applications button is what I tried to highlight in my last comment. From what I gathered, lines 220-228 in the Dash.js file is where the Show Applications button is mounted onto the dock's container, but the extension uses a custom object extending Gnome Shell's real ShowAppsIcon. That object (meaning Dash to Dock's Show Applications button) is defined in the appIcons.js file starting at line 1029 and onwards. If you (whenever you have time) - or anybody else - want to give a go at the Show Applications' bug. |
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.
LGTM.
Not sure still if it's possible to keep the codebase fully 3.36 compatible yet as per other changes, but maybe I'll include a string for the signal so that we can be version dependant.
Thanks
aimproxy, Sorry my bad english, I'm from Brazil..!! I don't know how to apply this fix. How do i do..?? Thanks in advance..!! |
@zerocoolroot be sure u using gnome 3.38 on the last version, fork this repo on master and install it. Everything should be fine except for the Show Application Button. If you need more instructions just use @aimproxy to alert me on Github, I will answer as quickly as I can. |
@3v1n0 No you can't, this change will brake dash to dock on 3.36, this fix is only for 3.37.+ 3.38.+! |
@aimproxy I installed the version from the link below and works fine for me. Included Show Application Button..!! https://github.com/micheleg/dash-to-dock/tree/gnome-3-38 Fedora 33 Beta. Thank you so much..!! |
@zerocoolroot cool, someone fixes that for us! @3v1n0 Just to keep in mind, I know there is a lot of people reporting the same issue, you can now close the following issues: #1301 #1299 |
Sure we can, both versions can be supported. JS is hacky enough to allow that :) |
This PR replaces the
alocation-changed
signal by the original notification allocation. Clutter has no longerallocation-changed
signal since they do not have from now allocation flags. This change is part of Gnome 3.38 milestone, u can check that out here: MR !1245This PR should not affect anything in Gnome 3.36, because allocation notifications already exists in this version, u can merge it safely.
Also the Show Applications button does not work any more, in Gnome 3.37.2, I believe they have changed something in the Bus API, I just can't find the piece of code in your extension to check that, could you please tell me which functions perform the action to open the applications menu? So I can fix that out.
Sorry for my grammar.
And thx for this amazing extension!