Context Menu for Folders not showing in Files browsing

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.1 and 25.0.2 RC
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04 and Debian 11
Apache or nginx version (eg, Apache 2.4.25): Apache (latest)
PHP version (eg, 7.4): php 7.4 and php 8.1
Tested on: Brave and Firefox (latest), w/ and w/o protections.

The issue you are facing:

Compared to v24, context menus for folders (create new file, etc) is no longer shown when clicking on the “+” icon!

Is this the first time you’ve seen this error? (Y/N): Y (well, no, but It took me a while to decide to report it)

Steps to replicate it:

  1. Go to Files

  2. Click on the “+” icon next to the path
    image

  3. Hit the button

Expected behavior from v24:

Observed behavior: nothing happens

Dev mode JS error:

globals.js:88 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
globals.js:88 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
App.svelte:65 Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
    at Object.attach (App.svelte:65:8)
    at Object.attach (plugins.js:83:13)
    at a.initialize (newfilemenu.js:59:15)
    at t.View (object-define-properties.js:16:15)
    at new a (toastify.js:74:12)
    at FileList._onClickNewButton (filelist.js:3867:25)
    at bt (types.js:16:44)
    at HTMLAnchorElement.<anonymous> (types.js:16:44)
    at HTMLAnchorElement.<anonymous> (types.js:16:44)
    at HTMLAnchorElement.dispatch (jquery-ui.js:9441:24)
attach	@	App.svelte:65
attach	@	plugins.js:83
initialize	@	newfilemenu.js:59
t.View	@	object-define-properties.js:16
a	@	toastify.js:74
_onClickNewButton	@	filelist.js:3867
bt	@	types.js:16
(anonymous)	@	types.js:16
(anonymous)	@	types.js:16
dispatch	@	jquery-ui.js:9441
m.handle	@	jquery-ui.js:7367

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

I know it’s some time since the question was asked and you probably solved it already, but since I ended up here while Googling I guess someone else might as well.
The issue reported is created by the “transfer-app” deactivating it solves the issue.
the app tries to attach an observer to the new file menu by selecting it through the id #control which was valid in v.24 but in v.25 there is no element with id #control. And therefore it fails.

1 Like

Same here with app “Transfer”. What a pity. I like the app “Transfer” but i can not use it.