[Interest] [Android-development] Text Selection Handles Qt 5.8 QQC2 - some workarounds

ekke ekke at ekkes-corner.org
Sat Mar 25 18:01:00 CET 2017


Am 25.03.17 um 17:45 schrieb Robert Iakobashvili:
> On Sat, Mar 25, 2017 at 7:35 PM, ekke <ekke at ekkes-corner.org> wrote:
>> Am 25.03.17 um 17:30 schrieb Robert Iakobashvili:
>>> On Sat, Mar 25, 2017 at 7:23 PM, ekke <ekke at ekkes-corner.org> wrote:
>>>> I remember some posts about problems with Text Selection Handles and Qt 5.8
>>>> To provide a solution customers can work with I developed some workarounds.
>>>>
>>>> Today blogged about:
>>>> https://appbus.wordpress.com/2017/03/25/text-selection-handles-qt-5-8/
>>>>
>>>> perhaps it helps others
>>>>
>>>> ekke (ekkehard gentz)
>>>>
>>> Dear Ekke,
>>> Thank you very much.
>>>
>>> Yes, the selection handles are too buggy on Android at Qt-5.8.
>>>
>>> Do you have recommendations for widgets?
>>>
>>> Do you know how to get rid from the handles?
>>>
>>> This is a show stopper for me not to move up from 5.7.
>>>
>>> Kind regards,
>>> Robert
>>>
>> Hi Robert,
>>
>> sorry - never did Qt Widgets development
>>
>> developed 4 years BlackBerry10 Cascades / Qt 4.8
>> started Qt development for mobile (Android, iOS, W10 will follow) with
>> QtQuickControls2
>>
>> ekke
> Dear Ekke,
>
> My guess that making
>
> selectByMouse: true
>
> is a general recommendation and for Widgets as well.
>
> There are some recommendations on net as for getting rid from
> handles by placing a null image, but hopefully the issues will be fixed
> somewhere in Qt-5.9.1
>
> Thanks once more.
>
> Kind regards,
> Robert
>
Hi Robert,

from discussion with J-P I learned that selectByMouse is in conflict
with Flickable and scrolling multi line TextArea and should not be set
on touch device with QQC2.

ekke




More information about the Interest mailing list