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

Merge upstream: Retrieve the associated NSView more reliably #1

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

misch7
Copy link

@misch7 misch7 commented Oct 17, 2019

With Qt 5.12.5 this crash also applies to the Nextcloud Desktop Client on macOS.

The upstream commit fixes it.

Also there is a change needed to src/gui/CMakeLists.txt, to include a Qt-private header file,
please see PR: nextcloud/desktop#1520

For reference see: owncloud/client@f0ef500

Original commit message:

See owncloud/client#6930 for a crash report
pointing to an invalid pointer being used when using (NSView*)winId.

The updated code unfortunately uses private Qt headers but retrieves
the NSView in the same way that QMacNativeWidget does, which tests
indicate is more robust.

Thanks to @yan12125 for testing.

See owncloud/client#6930 for a crash report
pointing to an invalid pointer being used when using (NSView*)winId.

The updated code unfortunately uses private Qt headers but retrieves
the NSView in the same way that QMacNativeWidget does, which tests
indicate is more robust.

Thanks to @yan12125 for testing.
misch7 added a commit to nextcloud/desktop that referenced this pull request Oct 17, 2019
With Qt 5.12.5 this OC crash also applies to the Nextcloud Desktop Client on macOS.

For reference please see:
- owncloud/client#6930
- guruz/qtmacgoodies@0dc7bc3

For the required changes in the qtmacgoodies submodule see:
camilasan/qtmacgoodies#1

Signed-off-by: Michael Schuster <michael@schuster.ms>
@camilasan camilasan merged commit 4952b47 into camilasan:master Oct 17, 2019
camilasan pushed a commit to nextcloud/desktop that referenced this pull request Oct 17, 2019
With Qt 5.12.5 this OC crash also applies to the Nextcloud Desktop Client on macOS.

For reference please see:
- owncloud/client#6930
- guruz/qtmacgoodies@0dc7bc3

For the required changes in the qtmacgoodies submodule see:
camilasan/qtmacgoodies#1

Signed-off-by: Michael Schuster <michael@schuster.ms>
misch7 added a commit to nextcloud/desktop that referenced this pull request Oct 19, 2019
Fetch the new submodule commits to get these fixes:
- Merge upstream: Retrieve the associated NSView more reliably: camilasan/qtmacgoodies#1
- Bugfix for Qt 5.12.5 - Redraw the ToolBar: camilasan/qtmacgoodies#2

Signed-off-by: Michael Schuster <michael@schuster.ms>
camilasan pushed a commit to nextcloud/desktop that referenced this pull request Nov 4, 2019
Fetch the new submodule commits to get these fixes:
- Merge upstream: Retrieve the associated NSView more reliably: camilasan/qtmacgoodies#1
- Bugfix for Qt 5.12.5 - Redraw the ToolBar: camilasan/qtmacgoodies#2

Signed-off-by: Michael Schuster <michael@schuster.ms>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants