[webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

Ryosuke Niwa rniwa at webkit.org
Tue Aug 20 10:52:28 PDT 2013


Thanks for the confirmation, Martin!

I've started to wonder if we can tie this to the editing behavior instead.
 Isn't this more about the platform UI than each framework?

If so, it'll be nice to check the behavior on Windows and simply make the
placeholder text behavior change based on the underlying operating system.

- R. Niwa


On Tue, Aug 20, 2013 at 10:41 AM, Martin Robinson <mrobinson at webkit.org>wrote:

> On Mon, Aug 19, 2013 at 10:16 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> > Are Qt and GTK+ (and other) ports intentionally returning false in
> > shouldShowPlaceholderWhenFocused?  Or is this just an oversight due to
> the
> > fact the default implementation returned false?
>
> I just confirmed that the native GTK+ behavior is for placeholder text
> to disappear when a text entry is focused. I believe for GTK+ this
> method should return false.
>
> --Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130820/4e9319e6/attachment.html>


More information about the webkit-dev mailing list