owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
434 stars 159 forks source link

Main menu does not work in safari #11718

Open DionTimmermann opened 10 hours ago

DionTimmermann commented 10 hours ago

Describe the bug

Clicking on an item in the main menu (3-by-3 grid at top left) does not open the desired page when using safari.

Likely reason: The menu disappears on mouse down, but the link would only be clicked on mouse up.

Steps to reproduce

  1. Open OCIS in Safari (I am using the admin user created during installation).
  2. Click on the main menu (3-by-3 grid at top left.
  3. The menu opens with 4 icons (Files, Text Editor, App Store, Admin Settings)
  4. Click on any item in the menu.

Expected behavior

The clicked-on page opens and the menu disappears.

Actual behavior

The menu disappears, but the page is not changed.

Setup

I used a fresh install of OCIS 6.5.0 with Web client version 10.3.0. I used sudo -u ocis ocis init --config-path /containers/ocis/config --admin-password "XXXXX" --insecure true to configure the server. The server runs on a machine in my local network and is behind a nginx reverse proxy with the recommended additional settings:

        # OIDC Tokens in headers are quite large and can exceed default limits of reverse proxies
        proxy_buffers 4 256k;
        proxy_buffer_size 128k;
        proxy_busy_buffers_size 256k;

        # Disable checking of client request body size
        client_max_body_size 0;

Additional context

In safari, the menu disappears immediately when I press the mouse button. In chrome, the menu stays open when I press the mouse button. The menu item is only selected/clicked when I release the mouse button. I am unsure if the menu is closed on mouse up or only when the new page is loaded.

pascalwengerter commented 5 hours ago

If only every issue opened was this detailed ๐Ÿ™๐Ÿฝ โ˜บ๏ธ

kulmann commented 4 hours ago

If only every issue opened was this detailed ๐Ÿ™๐Ÿฝ โ˜บ๏ธ

I second that ๐Ÿ˜ Thank you for the detailed bug report!

Also, I can confirm the bug in Safari 17.5. And your assumption @DionTimmermann seems to be correct, when I comment out the hide function body on the dropdown the app switcher works as expected in Safari (without closing)... need to investigate further.