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

QTextEdit crashes application when pasting with empty clipboard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 6.4
    • 6.4.2
    • None
    • Windows
    • 5da2292bff621d13970d225f337f03fe47e59ebe

    Description

      What happens

      When you have an empty clipboard (e.g. after booting the computer) and call the paste command inside a QTextEdit, the process will crash.

      What should happen

      The paste should have no effect in the QTextEdit.

      How to reproduce

      • Reboot the computer (to clear the clipboard). Make sure you copy nothing to the clipboard.
      • Start the Text Edit sample application.
      • Click on the first block of the QTextEdit.
      • Hit CTRL + V on the keyboard.

      Note that the application will crash.

      Attachments

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

        Activity

          People

            santhoshkumar Santhosh Kumar Selvaraj
            felipef Felipe Goron Farinon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m

                Gerrit Reviews

                  There are no open Gerrit changes