[Webkit-unassigned] [Bug 36177] [Qt] Multiselect Popup - Listbox click simulation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 16 14:39:19 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36177





--- Comment #6 from Luiz Agostini <luiz.agostini at openbossa.org>  2010-03-16 14:39:18 PST ---
(In reply to comment #4)
> +void HTMLSelectElement::listBoxPopupClick(int listIndex, bool multi, bool
> shift, bool fireEvents)
> +{
> +    if (!multiple())
> +        setSelectedIndexByUser(listIndex, true, fireEvents);
> +    else {
> +        updateSelectedState(m_data, this, listIndex, multi, shift);
> +        if (fireEvents)
> +            listBoxOnChange();
> +    }
> +}
> 
> Luiz, yet in this method, what is the difference between |multi| and the
> calling |multiple()| ?

multi is a selection of the user.
you can compare multi and shift with pressing keys ctrl and shift for linux
listboxes.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list