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

Error in public function "setclearbuttonenabled" of "QLineEdit" control

    XMLWordPrintable

Details

    • Linux/X11
    • dc794f7622bc00f7ca50fab65d6965695d6d2972 (qt/qtbase/dev) 6c4c194b588ad6ad5d6948f048a205656fa9a5be (qt/tqtc-qtbase/5.15) 5c700159507c363575acd7bdfca60fbd4505e1f8 (qt/qtbase/6.1)

    Description

      [Code]

      QLineEdit *edit = new QLineEdit(this);
      edit->resize(200, 40);
      edit->move(100, 100);
      edit->setPlaceholderText("hello");
      edit->setClearButtonEnabled(true);
      

      [Steps]

      1. Type Arabic in the input box
      2. Click the clean button
      3. Then you'll see that the placeholder text is misplaced.

      [Hope]

      • I hope that after deleting the text, the placeholdertext will not be misplaced

      Attachments

        1. Screen Recording 2021-06-09 at 12.34.05.mov
          358 kB
        2. QEditError.zip
          2 kB
        3. QEditError.mp4
          474 kB
        4. Overlap.png
          Overlap.png
          289 kB
        5. overlap.mp4
          411 kB
        6. new bug.mp4
          513 kB

        Activity

          People

            vhilshei Volker Hilsheimer
            fanruijie Alan Fan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: