projecthamster / hamster-shell-extension

Shell extension for hamster
http://projecthamster.org
GNU General Public License v3.0
215 stars 91 forks source link

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

Closed DirkHoffmann closed 4 years ago

DirkHoffmann commented 5 years ago

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 commented 5 years ago

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

DirkHoffmann commented 5 years ago

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 commented 4 years ago

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

DirkHoffmann commented 4 years ago

May be a duplicate of #315.

gregorydk commented 4 years ago

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

DirkHoffmann commented 4 years ago

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 commented 4 years ago

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

ederag commented 4 years ago

@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 commented 4 years ago

Works for me in Gnome 3.34 : https://github.com/projecthamster/hamster/issues/433#issuecomment-591952169

Possible diagnostics :

ederag commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Picking this up from the other ticket for memory:

Originally posted by @mwilck in https://github.com/projecthamster/hamster-shell-extension/issues/315#issuecomment-593488824

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 69af56af fixes the issue on GNOME 3.32?

mwilck commented 4 years ago

@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).

mwilck commented 4 years ago

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

DirkHoffmann commented 4 years ago

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).