GithubHelp home page GithubHelp logo

Gnome 45 Support? about coverflowalttab HOT 39 CLOSED

nater1983 avatar nater1983 commented on June 2, 2024 5
Gnome 45 Support?

from coverflowalttab.

Comments (39)

dsheeler avatar dsheeler commented on June 2, 2024 8

Yes, there will be a new release for 45. Yes, @rudrab, I don't know all the issues but I anticipated import problems.

from coverflowalttab.

DarkXero-dev avatar DarkXero-dev commented on June 2, 2024 4

Gnome 45 is out on Arch hoping to see update soon. Thanks for the hard work

from coverflowalttab.

rudrab avatar rudrab commented on June 2, 2024 3

branch 208 is working properly on gnome 45 (fedora 39)

from coverflowalttab.

nater1983 avatar nater1983 commented on June 2, 2024 1

branch 208 is working properly on gnome 45 (Slackware 15.1 (Current) )

from coverflowalttab.

mlmilliman avatar mlmilliman commented on June 2, 2024 1

@mlmilliman you are using the 208 branch? So you hit alt-tab and does anything come up? Whole gnome-shell freezes up?

Yes I am using branch 208. I downloaded it, built it, and installed it into a clean directory. I checked the metadata.json file to confirm I'm using the correct version too. Not only does GNOME freeze up but also Ubuntu to the point I have to do a hard reset on the computer. I cannot escape or start a new session or even kill GDM3. I didn't expect that hard of a failure. I'll see if I can replicate it and look through the log files to see where it is crashing.

from coverflowalttab.

Batwam avatar Batwam commented on June 2, 2024 1

Does it freeze when you open your session, enable the extension or press Alt+Tab?

I just tried branch 208 and worked fine for me. I've had issued restarting gnome-shell on X11 (Alt+F2,r) since testing 23.10 as gnome-shell tends to crash rather than restart but this doesn't seem to be coverflowAltTab specific as I had the same issue testing updating other extensions.

Edit: in fact, gnome-shell fails the reload after a killall gnome-shell even with extensions disabled. I have to do ctrl+alt+Fn to get into a tty and restart manually from there. Again, not a coverflow specific issue in my case.

from coverflowalttab.

Batwam avatar Batwam commented on June 2, 2024 1

Same here, the reason I'm still using X11 for is so I can restart gnome-shell to develop/test extensions. Turns out it's a "known" issue but as long as you close all apps before restarting it works: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7050

from coverflowalttab.

DarkXero-dev avatar DarkXero-dev commented on June 2, 2024 1

Yes it sure is related to this mutter issue listed above it's a regression in the code.. They are working on it.. Try not to use Alt+f2+r or dconf reset.. those 2 cause Mutter/Shell to crash..

from coverflowalttab.

Batwam avatar Batwam commented on June 2, 2024 1

the only solution I found so far is to close all windows before restarting. if you miss one, it will crash which is kind of annoying as it means that you can't leave the apps you were testing open... but still better than having to close/reopen the session.

personally, I made a script called re which includes the following so, instead of doing Alt+F2+r, I'm now doing Alt+F2+re and the script runs wmctrl -l | wc -l to make sure no window is left open before restarting the shell. The script also reopens whatever app I'm testing with (reopens the IDE, ...) so I don't have to do it myself. I haven't found a better solution yet and you can't even restart automatically from your install script as the terminal/IDE itself needs to be closed :-(

num_windows=$(wmctrl -l | wc -l)
if [ "$num_windows" -gt 0 ]; then
	if [ -t 0 ]; then #check if run from terminal or GUI
		echo -e "\e[31mPlease close all apps before restarting Gnome\e[0m"
	else
		zenity --warning --text "Please close all apps before restarting Gnome"
	fi
fi

from coverflowalttab.

nater1983 avatar nater1983 commented on June 2, 2024 1

Thats what I thought it was , I kinda followed the thread abit. I have applied this patch to Gnome 45 for Slackware thank you so much.

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024 1

I couldn't believe how simple the edits turned out to be: remove this line, add this line, done. And then restart worked. I like little miracles :).

from coverflowalttab.

rudrab avatar rudrab commented on June 2, 2024

I am getting error:
The settings of extension [email protected] had an error:

SyntaxError: export declarations may only appear at top level of a module

Stack trace:

@file:///home/rudra/.local/share/gnome-shell/extensions/[email protected]/prefs.js:28:16
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

when installing it in f39.

from coverflowalttab.

rudrab avatar rudrab commented on June 2, 2024

The possible error is: https://gjs.guide/extensions/upgrading/gnome-shell-45.html

from coverflowalttab.

mlmilliman avatar mlmilliman commented on June 2, 2024

Freezes on activation for Ubuntu 23.10 with Gnome 45. More investigation necessary.

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

@mlmilliman you are using the 208 branch? So you hit alt-tab and does anything come up? Whole gnome-shell freezes up?

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

@mlmilliman you are using the 208 branch? So you hit alt-tab and does anything come up? Whole gnome-shell freezes up?

Yes I am using branch 208. I downloaded it, built it, and installed it into a clean directory. I checked the metadata.json file to confirm I'm using the correct version too. Not only does GNOME freeze up but also Ubuntu to the point I have to do a hard reset on the computer. I cannot escape or start a new session or even kill GDM3. I didn't expect that hard of a failure. I'll see if I can replicate it and look through the log files to see where it is crashing.

Great! If you can replicate that'll be super helpful. Thank you!

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

Oh, and I also have x11 crashing on restart. I used that feature extensively to develop extensions, but since it's broken, I switched to wayland!

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

Hey guys: I submitted the 208 branch plus new swipe functionality to the extensions web site for approval. Hope it's up soon!

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

@DarkXero-dev and @Batwam: Is there a way to restart the shell that doesn't cause a crash?

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

Thanks for the info! I want this problem fixed ASAP!

from coverflowalttab.

DarkXero-dev avatar DarkXero-dev commented on June 2, 2024

Thanks for the info! I want this problem fixed ASAP!

So does everyone else. It's a Mutter issue so please add your voice by nagging to them

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

I just applied their fixes on a fedora 39 running in boxes. It works! I think they don't understand why the fix works...

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

I just installed the fix to /usr/local on my running system. It works. Wow. Like the good old days!

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

If anyone wants the patch for mutter:
patch.txt

from coverflowalttab.

nater1983 avatar nater1983 commented on June 2, 2024

My i ask what the patch fixes in mutter @dsheeler ....

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

@nater1983: The patch generally allows you to restart X11 sessions without a crash.

I can't tell you the first thing about the mutter internals, just I tracked down a few edits described in this post: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2445#note_1747876 and reverting this commit here https://gitlab.gnome.org/GNOME/mutter/-/commit/15b25568b29ec0e082f6a18fef550078102aaca1?merge_request_iid=2445. I started with the link above provided by @Batwam (thank you very much, @Batwam!) in this post: #208 (comment)

from coverflowalttab.

nater1983 avatar nater1983 commented on June 2, 2024

Well in future releases Gnome says they will be removing X11 code in favor of Wayland but I think since I am maintaining Gnome for Slackware with a group of devs we will just patch the X11 code back into Gnome.

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

Cool!

Wayland is the future, but X11 restart is really important for me to develop this extension in particular. I can't really develop this extension with nested wayland since the outer shell captures the Alt-Tab (there must be a way to make that happen, but I don't know how).

This X11 restart crash has at least got me started looking at virtual machines. But even there I have to login/logout instead of restarting. They are really getting pretty good with wayland functionality all being there. But this restart thing keeps me interested in X11

from coverflowalttab.

Batwam avatar Batwam commented on June 2, 2024

yeah, restart capability is the only reason I'm still using X11 as it's a must when working on extensions...

from coverflowalttab.

nater1983 avatar nater1983 commented on June 2, 2024

Cool!

Wayland is the future, but X11 restart is really important for me to develop this extension in particular. I can't really develop this extension with nested wayland since the outer shell captures the Alt-Tab (there must be a way to make that happen, but I don't know how).

This X11 restart crash has at least got me started looking at virtual machines. But even there I have to login/logout instead of restarting. They are really getting pretty good with wayland functionality all being there. But this restart thing keeps me interested in X11

I agree X11 has been around for so long ( for me I prefer X11 over Wayland ) but you are right sooner or later Wayland would need to have the whole restart Gnome Shell feature ( hopefully ) added.

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

I used to sometimes use X11 over a fast network logged in to a different computer :). Wayland will never do that. But it probably shouldn't... I don't know :).

from coverflowalttab.

nater1983 avatar nater1983 commented on June 2, 2024

Same only time will tell

from coverflowalttab.

Batwam avatar Batwam commented on June 2, 2024

I'll mention your patch on gitlab in case it can help getting this fixed upstream. I hope that's ok.

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

I think my patch works, but not sure it's really correct, and I got it from their work, so I'm not sure it'll be useful, but a push never hurts :)

from coverflowalttab.

mlmilliman avatar mlmilliman commented on June 2, 2024

I did a clean build and install of this branch and it still crashes Ubuntu 23.10. The extension is activated but fails to bring up CoverFlow. The mouse still moves abut I cannot exit out of the extension nor open a new tty. I have to do a cold boot to recover. I could try to ssh into the machine to see if the kernel is still running and it is just a gdm3 freeze.

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

@mlmilliman, I suspect somehow the coverflow extension is crashing while still modal (all keyboard events go only to it). That would explain not being able to get a tty. I suspect you'd be able to ssh in, but let's find the bug. Can you capture the output of

$ journalctl -f /usr/bin/gnome-shell

before and during the crash? I.e., start capturing that command and make the crash happen?

from coverflowalttab.

dsheeler avatar dsheeler commented on June 2, 2024

@mlmilliman, I tried installing ubuntu on boxes, but it was freezing up on me and unusable. Not sure why, so I couldn't reproduce the bug.

from coverflowalttab.

molitona avatar molitona commented on June 2, 2024

hello @dsheeler
is cloning the repo to ~/.local/share/gnome-shell/extensions will get the extension work ?
I use arch on x11 and i can help reporting any issues..

from coverflowalttab.

Batwam avatar Batwam commented on June 2, 2024

@molitona no, it won't. You need to either install the version from extensions.gnome.org or clone the report in your git folder and run make all
https://github.com/dmo60/CoverflowAltTab#gnome-shell

from coverflowalttab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.