Bug 2131796 - Renaming a file in Nautilus causes unresponsive UI until nautilus is killed from a virtual tty
Summary: Renaming a file in Nautilus causes unresponsive UI until nautilus is killed f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nextcloud-client
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker AcceptedFreezeException
Depends On:
Blocks: F37FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2022-10-03 16:46 UTC by Michel Lind
Modified: 2023-08-22 20:01 UTC (History)
12 users (show)

Fixed In Version: nextcloud-client-3.6.0-3.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-17 22:54:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michel Lind 2022-10-03 16:46:10 UTC
Description of problem:
If nextcloud-client-nautilus is installed, renaming a file causes nautilus to become unresponsive once the file rename pop-up is rendered. It somehow steals mouse and keyboard focus too so I cannot just click to another window. Requires a pkill -9 from a virtual TTY to regain control.

Version-Release number of selected component (if applicable):
nautilus-43.0-2.fc37.x86_64
nextcloud-client-nautilus-3.6.0-1.fc37.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install nextcloud-client-nautilus
2. Run nautilus from the terminal so we can observe its stderr
3. Try renaming a file in Nautilus (even in a folder not managed by Nextcloud)

Actual results:
- nautilus becomes unresponsive once the pop-up to type in the new filename is rendered
- clicking to other windows don't work
- after 'pkill -9 nautilus' everything is back working again. -9 is required

❯ nautilus
Initializing Nextcloud-client-nautilus extension
Using python version sys.version_info(major=3, minor=11, micro=0, releaselevel='candidate', serial=2)
TypeError: MenuExtension_ownCloud.get_file_items() missing 1 required positional argument: 'files'
TypeError: MenuExtension_ownCloud.get_file_items() missing 1 required positional argument: 'files'
TypeError: MenuExtension_ownCloud.get_file_items() missing 1 required positional argument: 'files'
TypeError: MenuExtension_ownCloud.get_file_items() missing 1 required positional argument: 'files'

Expected results:
No issue

Additional info:

Comment 1 Fedora Blocker Bugs Application 2022-10-03 17:34:46 UTC
Proposed as a Blocker for 37-final by Fedora user salimma using the blocker tracking app because:

 While this bug is triggered by a package that's not part of the default install (nextcloud-client-nautilus), it's a bit worrying to me that a Nautilus extension can cause Nautilus to lock up so badly - and worse, take away keyboard and mouse focus.

A technical user can work around this, but for a non-technical user this seems like it would be a horrible experience. Not sure if it's blocker-worthy (or if I should split off the underlying Nautilus issue to a separate bug). Probably worth at least a 'known issue' entry though.

Comment 2 Ben Cotton 2022-10-03 18:05:31 UTC
Adding an explicit freeze exception nomination because I don't think this is likely to be granted blocker status.

Comment 3 Kalev Lember 2022-10-04 16:02:24 UTC
https://github.com/nextcloud/desktop/pull/5001 has patches for nautilus 43 support.

Comment 4 Kamil Páral 2022-10-06 08:52:49 UTC
-5 blocker +5 freeze exception vote in https://pagure.io/fedora-qa/blocker-review/issue/947 , rejecting as a blocker and accepting as a freeze exception

Comment 5 Mukundan Ragavan 2022-10-06 12:29:41 UTC
I will add the patch from upstream PR in the next few days.

Comment 6 Fedora Update System 2022-10-09 21:28:52 UTC
FEDORA-2022-ca34507271 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ca34507271

Comment 7 Mukundan Ragavan 2022-10-09 21:30:01 UTC
please test the above update and provide feedback.

Comment 8 Fedora Update System 2022-10-10 10:03:42 UTC
FEDORA-2022-ca34507271 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ca34507271`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ca34507271

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 lnie 2022-10-12 04:22:13 UTC
I don't have a Nextcloud account,but without the update,I see the TypeError mentioned in the description,while the Error will be gone after the update is installed.So,I guess we can call the bug is fixed?

Comment 10 lnie 2022-10-12 07:56:41 UTC
> I don't have a Nextcloud account
And I saw this bug when I try to create one: https://bugzilla.redhat.com/show_bug.cgi?id=2134035

Comment 11 Kamil Páral 2022-10-12 10:45:39 UTC
Michel, can you please test the update and provide karma in Bodhi? Thanks!

Comment 12 Fedora Update System 2022-10-17 22:54:50 UTC
FEDORA-2022-ca34507271 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.