[Development] Qt 5.2, activeFocusItem, QMenu and QMenuItem (bug)

Hamidreza Davoodi hrdavodi at gmail.com
Sun Apr 6 21:26:10 CEST 2014


thank you. :)

kinda fixed my issue around it with a few tricks.
I'm hoping for a more stable Qt in 5.3.


On Sun, Apr 6, 2014 at 7:19 PM, Alan Ezust <alan.ezust at gmail.com> wrote:

> See this bug:
> https://bugreports.qt-project.org/browse/QTBUG-36332
>
>
> On Sun, Apr 6, 2014 at 8:33 AM, Hamidreza Davoodi <hrdavodi at gmail.com>wrote:
>
>> Hello there,
>> I'm encountering a problem with activeFocusItem in QQuickItem.
>> According to this example [1], when you click on something and menu
>> appears, it should be enabled. It actually did work in Qt 5.1 but not in Qt
>> 5.2.
>> I debugged it and found out when menu raises the activeFocusItem loses
>> the last item which in this context is a TextInput and returns null (and
>> also quite possibly the menu itself gets focused on).
>>
>> Is this a reported bug? cause I couldn't find anything like this.
>> Is there solution?
>>
>> [1]
>> http://doc.qt.digia.com/qt-5.2/qtquickcontrols-controls-gallery-main-qml.html
>>
>> --
>> Yours Sincerely,
>>
>> Hamidreza Davoodi
>>
>> _______________________________________________
>> Development mailing list
>> Development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
>>
>>
>


-- 
Yours Sincerely,

Hamidreza Davoodi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140406/9d208a28/attachment.html>


More information about the Development mailing list