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

FB14376916: QLPreviewController gets frozen after drawing in iOS17.X #539

Open
liorazi opened this issue Jul 22, 2024 · 0 comments
Open

Comments

@liorazi
Copy link

liorazi commented Jul 22, 2024

  • Date: 2024-07-18
  • Resolution: Open
  • Area: Quicklook
  • OS: iOS 17.6 Seed 4 (21G5075a)
  • Type: Incorrect/Unexpected Behavior
  • Keywords: QuickLook, QLPreviewController, UIKit

Description

There seem to be a regression in QLPreviewController with iOS17, since it works in both iOS16(latest) and iOS18b3.

After following the steps (described below), using iOS17.X the QLPreviewController gets frozen up so all of it's top buttons are no tappable, although you can still draw on the canvas.

Steps to reproduce:

  1. Setup QLPreviewController to preview a single image in png format.
    The QLPreviewController should be presented as the rootViewController of a UINavigationController.
  2. Present the UINavigationController that has the QLPreviewController as its rootViewController.
  3. Tap the Markup button.
  4. Pick the leftest tool from the PencilKit tools at the bottom.
  5. Draw a curvy long line from the bottom-right corner of the canvas, to the top-left corner of the canvas.
  6. Tap any of the top buttons.

Current: The top buttons are not tappable.
Expected: The top buttons are tappable.

Notes:

  1. The issue seems to be reproducible in iOS17, and isn't reproducible in iOS16 or iOS18b3 using Xcode 15.4 and Xcode 16b3.
  2. The issue is reproducible in both iOS17 Simulator or devices.
  3. The issue is reproducible in both UIKit and SwiftUI.
  4. Possible same issue was mentioned here: https://stackoverflow.com/questions/78090416/navigation-toolbar-buttons-stop-working-after-keyboard-is-shown-on-ios-17-sw
  5. Attaching a sample project to this Feedback post.
  6. Attaching an image of what you'll need to draw (in the reproduction steps)

Files

feedback_quicklook_screenshot
SwiftUIQuickLookInUINavigationController1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant