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

Ryosuke Niwa rniwa at webkit.org
Tue Aug 20 23:43:23 PDT 2013


Does that mean we want the new Mac behavior
(i.e. shouldShowPlaceholderWhenFocused returning true) everywhere?

- R. Niwa

On Tue, Aug 20, 2013 at 11:35 PM, Kangil Han <kangil.han at samsung.com> wrote:

> +1
>
> -----Original Message-----
> From: webkit-dev-bounces at lists.webkit.org [mailto:
> webkit-dev-bounces at lists.webkit.org] On Behalf Of Carlos Garcia Campos
> Sent: Wednesday, August 21, 2013 3:08 PM
> To: Martin Robinson
> Cc: WebKit Development
> Subject: Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in
> shouldShowPlaceholderWhenFocused?
>
> 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
> http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130820/58c2fd12/attachment.html>


More information about the webkit-dev mailing list