Skip to content
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

Not working with gnome-shell 3.32 under fedora 30 #301

Closed
DirkHoffmann opened this issue Feb 10, 2019 · 15 comments
Closed

Not working with gnome-shell 3.32 under fedora 30 #301

DirkHoffmann opened this issue Feb 10, 2019 · 15 comments
Assignees
Labels
bug Code working other than specified.

Comments

@DirkHoffmann
Copy link
Member

I am glad to see that there are error reports (at least one: #295) concerning gnome-shell 3.30, and they are accepted.

Are the statements that 3.26 is the latest or 3.28 as in the README then obsolete? (I can provide a PR for the latter, but not the former, if you confirm.)

@gregorydk
Copy link
Contributor

It's 3.30, the extension doesn't work in 3.31 any more. I'm a sad panda now.

DirkHoffmann added a commit to DirkHoffmann/hamster-shell-extension that referenced this issue Mar 1, 2019
Compatibility with gnome-shell 3.30 according to projecthamster#301
@DirkHoffmann DirkHoffmann changed the title Which is the latest compatible gnome-shell version? Not working with gnome-shell 3.30 under fedora 29 Mar 1, 2019
@DirkHoffmann
Copy link
Member Author

Good. 3.30 is the one in my distro.
I updated your README.st (PR #303). Please act as like you feel. (And don't forget to update https://extensions.gnome.org/extension/425/project-hamster-extension/ as well.)

So this question is settled, and my initial request becomes: Why does it not work on my system. ;-)
What can I do to debug the situation? I can launch hamster on my system and see the corresponding window, but nothing like
this
Should a text like "Hamster 02:52" appear in the top bar?

@DirkHoffmann
Copy link
Member Author

Still true for 3.32 / Fedora 30 today.
Nothing is displayed at all.

@DirkHoffmann DirkHoffmann changed the title Not working with gnome-shell 3.30 under fedora 29 Not working with gnome-shell 3.32 under fedora 30 Feb 15, 2020
@DirkHoffmann
Copy link
Member Author

May be a duplicate of #315.

@gregorydk
Copy link
Contributor

@DirkHoffmann
Copy link
Member Author

https://github.com/mwilck/hamster-shell-extension should work on 3.34.

Thank you, @gregorydk. But this is about 3.32.
However, @mwilck's GNOME-3.32 branch worked fine for me. I can live with it.

The problem is that the standard distribution path (for gnome-shell extensions) is broken, this repository is not up to date (since April 2019) and manual installation bears a number of pitfalls (the README is wrong as of today).
That's why I leave this issue open.

@gregorydk
Copy link
Contributor

@DirkHoffmann I thought you'd already be running Fedora 31. ;-)

@ederag
Copy link

ederag commented Feb 27, 2020

@DirkHoffmann

manual installation bears a number of pitfalls (the README is wrong as of today).

Care to elaborate ? At least two of us have trouble installing the extension from sources.

The extension does not show up anywhere on screen on lubuntu-19.04, even after doing

> gnome-shell --version
GNOME Shell 3.32.2

git clone https://github.com/mwilck/hamster-shell-extension.git
# GNOME-3.34  was not better
git checkout GNOME-3.32
make dist
rm -rf ~/.local/share/gnome-shell/extensions/contact@projecthamster.org
mkdir -p ~/.local/share/gnome-shell/extensions/contact@projecthamster.org
tar -C ~/.local/share/gnome-shell/extensions/contact@projecthamster.org \
     -xvf dist/contact@projecthamster.org.tgz
# reload shell (on xorg; on wayland one needs to logout/login): ALT+F2, r, Enter

> sudo apt install gnome-tweak-tool
Unpacking gnome-tweaks (3.32.0-1)
> gnome-tweaks

The extension is listed, checked (blue) at the first tentative,
but closing and reopening gnome-tweaks:
Screenshot_20200227_172853

@didierm
Copy link

didierm commented Feb 27, 2020

Works for me in Gnome 3.34 : projecthamster/hamster#433 (comment)

Possible diagnostics :

  • sudo journalctl -fel /usr/bin/gnome-shell
    and
  • Gnome Looking Glass ([ALT]+[F2] > "lg" > [Extensions])

@ederag
Copy link

ederag commented Feb 27, 2020

sudo apt install gnome-shell-extensions helped; now the hamster-shell-extension has no error.
It is checked in the gnome-tweaks, and there are no errors in the Gnome Looking Glass
(thanks for the tips !)
Screenshot_20200227_194912

sudo journalctl -fel /usr/bin/gnome-shell
showed errors prior to the gnome-shell-extensions installation. But now there is only:

févr. 27 17:43:30 lubuntu-1904-vb gnome-shell[677]: GNOME Shell started at Thu Feb 27 2020 17:43:29 GMT+0100 (CET)
févr. 27 17:43:38 lubuntu-1904-vb org.gnome.Shell.desktop[677]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2e00007

But nothing shows up. It should be at the top, right ?

@DirkHoffmann
Copy link
Member Author

All the above is correct.
I have no better recipe than the one above.

For the time being, four people were found to pick up the orphaned repository hamster-shell-extension. Please give us a couple more days to integrate the good work by @mwilck into the main repository and start from solid grounds again.
Individual care would be counterproductive at present, I am afraid. Sorry!

@DirkHoffmann
Copy link
Member Author

DirkHoffmann commented Mar 3, 2020

Picking this up from the other ticket for memory:

Originally posted by @mwilck in #315 (comment)

Could you provide some more info, e.g. journalctl --user -b output, from running the 3.34 code in under 3.32?

and

@DirkHoffmann, could you try if reverting 69af56a fixes the issue on GNOME 3.32?

@mwilck
Copy link
Contributor

mwilck commented Mar 4, 2020

@DirkHoffmann, could you try if reverting 69af56a fixes the issue on GNOME 3.32?

The commit ID to be reverted would now be 85d09e2, as I've re-posted PR #316 with new commit IDs (signed commits).

@elbenfreund elbenfreund added the bug Code working other than specified. label Mar 6, 2020
@mwilck
Copy link
Contributor

mwilck commented Apr 30, 2020

@DirkHoffmann, IIUC this is fixed? Please confirm and close.

@DirkHoffmann
Copy link
Member Author

Yes, there were many duplicate and redundant issues for gnome-shell > 3.28, and we lost slightly track. I do not the check the relationships and history exactly. But as this was oriniginally reported by me, I take the freedom to close it (satisfied).

mwilck pushed a commit to mwilck/hamster-shell-extension that referenced this issue Jun 19, 2023
Compatibility with gnome-shell 3.30 according to projecthamster#301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Code working other than specified.
Projects
None yet
Development

No branches or pull requests

6 participants