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

[REG 5.6->5.7] QTextOption::ShowLineAndParagraphSeparators causes trailing garbage to be displayed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.0 Beta
    • 5.7.0 Alpha
    • GUI: Text handling
    • None
    • Windows 10, Kubuntu 15.10 KDE 5.15/g++ 5.2 64bit
    • 53180c430fb27fb1f5e901000856350bcf6d2723

    Description

       QPlainTextEdit mainW;
          mainW.setPlainText("bla");
          QTextDocument *doc =  mainW.document();
          QTextOption opt = doc->defaultTextOption();
          opt.setFlags(opt.flags() | QTextOption::ShowLineAndParagraphSeparators);
          doc->setDefaultTextOption(opt);
      

      Attachments

        1. qtbug52048_56.jpg
          qtbug52048_56.jpg
          6 kB
        2. qtbug52048.jpg
          qtbug52048.jpg
          4 kB
        3. qtbug52048.zip
          0.9 kB

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes