-
Notifications
You must be signed in to change notification settings - Fork 807
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
[Bug]: missing share action from context menu in Nautilus 43 #5041
Comments
@paolostivanin is only the "share" option missing in your case but the NC context menu still present? I'm using Solus and after update to Gnome 43 the whole Nextcloud context menu in Nautilus is missing. If I start nautilus, I get this errors: ❯ nautilus
Initializing Nextcloud-client-nautilus extension
Using python version sys.version_info(major=3, minor=10, micro=6, releaselevel='final', serial=0)
/usr/share/nautilus-python/extensions/open_any_terminal_extension.py:13: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import Gio, GObject, Gtk, Nautilus
Traceback (most recent call last):
File "/usr/share/nautilus-python/extensions/open_any_terminal_extension.py", line 14, in <module>
require_version('Gtk', '3.0')
File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 117, in require_version
raise ValueError('Namespace %s is already loaded with version %s' %
ValueError: Namespace Gtk is already loaded with version 4.0
TypeError: MenuExtension_ownCloud.get_file_items() missing 1 required positional argument: 'files' |
Yes, you're right, I wasn't very clear. The whole Nextcloud ctx menu is missing. |
To me it seems that this is actually an issue in the Python package nautilus-terminal. There is a relates issue #82 for this package already. |
It is not caused by nautilus-terminal, it just has its own error in the same output. In the output given above, the Nextcloud extension is hitting its own error with some API function call. It's also possible that this exrension will hit the same error as the other extension since Nautilus extensions must use GTK4 as of version 43. It's not clear to me what version this one is using. |
Exactly. The issue here is:
so nautilus-terminal is not part of the problem at all. |
The problem can be easily fixed by removing
I tried on my machine and everything works fine. |
I've opened a PR to fix this issue. If you are using openSUSE Tumbleweed, you should get an update with the fix in a couple of days 😄 |
Sorry, was a bit confused by the multiple error messages. |
@paolostivanin I tried the patch with stable-3.6 branch on Solus and it works :) |
Yes, those tests are failing for unrelated reasons. |
There's already a PR open: #4870 |
Bug description
Hello,
after the update to GNOME 43, the "Share" action is missing from Nautilus' context menu (right click).
Steps to reproduce
Expected behavior
There should be a "share" action
Which version of the operating system you are running.
openSUSE Tumbleweed
Package
Distro package manager
Nextcloud Desktop Client version
3.6.0
Are you using an external user-backend?
The text was updated successfully, but these errors were encountered: