Project

General

Profile

Actions

Bug #5815

closed

textInput() signal not emitted for LineEdit when input mask set

Added by Winfried Dobbe over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/18/2017
Due date:
% Done:

0%

Estimated time:

Description

When you set an input mask to a WLineEdit with WLineEdit::setInputMask(...) the WLineEdit::textInput() signal is no longer emitted.

The attached simple example demonstrates this bug. The 'changedLabel' label will always show text "Initial value".

When you uncomment the line

edit->setInputMask("aaaaaa");

then the 'changedLabel' label text will change to 'Input changed' as soon as you enter text in the lineEdit.

I was using Wt 3.3.7 and Boost 1.61 on Linux.


Files

lineedit_mask_bug.tar.bz2 (1.15 KB) lineedit_mask_bug.tar.bz2 cpp and cmake file to reproduce bug Winfried Dobbe, 07/18/2017 03:46 PM
Actions #1

Updated by Roel Standaert over 7 years ago

  • Status changed from New to Resolved
Actions #2

Updated by Roel Standaert over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF