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

Carlos Garcia Campos carlosgc at webkit.org
Tue Aug 20 23:08:20 PDT 2013

El mar, 20-08-2013 a las 10:41 -0700, Martin Robinson escribió:
> 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.

I think that removing the placeholder text when starting typing instead
of when the entry is focused is indeed a good idea. I implemented the
placeholder text in GTK+ following the WebKit approach, so maybe we can
change it in both places.

> --Martin
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

Carlos Garcia Campos

More information about the webkit-dev mailing list