Project

General

Profile

Bug #3641

Real text treated as placeholder text in WFormWidget when text is modified programatically.

Added by Jesse Pepper over 7 years ago. Updated over 7 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Start date:
10/29/2014
Due date:
% Done:

0%

Estimated time:

Description

If the text in a WTextArea or other WFormWidget is set programatically with the setText() method, and placeholder text has previously been set with the setEmptyText or setPlaceholderText() method, then the new real text is treated as placeholder text. For example, it uses the placeholder formatting, and when the widget gets the focus, it becomes blank. I have tested this only in 3.3.0-rc3 but have looked at the latest version of the relevant code in git and no change seems to have been made to remedy this behaviour.


Files

hello.C (3.1 KB) hello.C Koen Deforche, 02/16/2015 05:47 PM

Also available in: Atom PDF