Skip to content
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

[stable-3.15] Fix "open local or group folders" menu not showing #7732

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Jan 8, 2025

Backport of PR #7730

Signed-off-by: Jyrki Gadinger <[email protected]>
…olders menu work again

this change resolves this ReferenceError when the window is being closed:
```
2025-01-08 10:56:40:389 [ warning default qrc:/qml/src/gui/tray/MainWindow.qml:100 ]:   qrc:/qml/src/gui/tray/MainWindow.qml:100: ReferenceError: appsMenu is not defined
```

I also noticed that the "Open local or group folders" dropdown menu
wouldn't show up due to this error:
```
2025-01-08 10:56:23:327 [ warning default qrc:/qml/src/gui/tray/TrayFoldersMenuButton.qml:33 ]: qrc:/qml/src/gui/tray/TrayFoldersMenuButton.qml:33: Error: Cannot call method QQuickPopup::open on QQuickLoader_QML_48(0x5569fb4648d0)
```
--> wrapped the calls to the open/close methods in a closure

Signed-off-by: Jyrki Gadinger <[email protected]>
@backportbot backportbot bot requested review from mgallien and nilsding January 8, 2025 13:28
@backportbot backportbot bot added this to the 3.15.4 milestone Jan 8, 2025
@mgallien mgallien enabled auto-merge January 8, 2025 13:34
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-7732-2f3dcb5c96c1e55dae088d92d9751c096a8db92a-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@mgallien mgallien merged commit 951a7b3 into stable-3.15 Jan 8, 2025
11 of 15 checks passed
@mgallien mgallien deleted the backport/7730/stable-3.15 branch January 8, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants