Opened 6 years ago

Last modified 5 years ago

#14860 assigned bug

Deskbar menu of input method icon works only once

Reported by: hanya Owned by: jscipione
Priority: normal Milestone: Unscheduled
Component: Applications/Deskbar Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

If customu input menu has own submenu at deskbar icon, the menu works only once.

If the submenu is shown once, the submenu is no longer work even any item is choosen until set the menu again by SetMenu method.

Attachments (1)

method.cpp (6.4 KB ) - added by hanya 6 years ago.
Test input method

Download all attachments as: .zip

Change History (5)

by hanya, 6 years ago

Attachment: method.cpp added

Test input method

comment:1 by hanya, 6 years ago

The attached method.cpp contains test input method provides submenu on the deskbar icon. This can be build like: g++ -o im_test method.cpp -lbe /boot/system/servers/input_server

The submenu contains the following entries:

  • Alert 1: shows alert. The menu is unuseful after you choose this item.
  • Alert 2: shows alert and set menu again. You can choose other item because of the new menu is set.

comment:2 by waddlesplash, 6 years ago

Component: - GeneralApplications/Deskbar
Owner: changed from nobody to jscipione

Setting component to Deskbar for now, but this might be an Interface Kit bug. (Either way, could you take a look at this, jscipione?)

comment:3 by hanya, 6 years ago

The same problem happen on submenus in some custom code. I needed to call SetTargetForItems on each submenus to avoid this problem.

comment:4 by jscipione, 5 years ago

Status: newassigned
Note: See TracTickets for help on using tickets.