Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41395

The same code works from QPushButton::clicked() and crashs from QAction::triggered()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P1: Critical P1: Critical
    • None
    • 5.2.1
    • GUI: Window management
    • None
    • Android 4.4.2 (Nexus 5 phone)
    • Android

      I have a program that creates a dummy file and then proposes to open it using user's default file editor via a Java SDK call. The file can be opened either by clicking a button or selecting a menu item.

      When using the button, file is opened
      When using the menu item, file is opened, but application crashs.

      I posted the whole code and crash stack on this page:
      http://stackoverflow.com/questions/25075883/why-the-same-code-works-from-qpushbuttonclicked-and-crashs-from-qactiontri

      I'd appreciate not having to copy all here, but if needed, I can do it.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            stromme Christian
            jpo38 Jean Porcherot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes