qtcreator recently used file/project submenu empty

Bug #1435348 reported by Sebastien Bacher on 2015-03-23
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
appmenu-qt5 (Ubuntu)
High
Łukasz Zemczak
qtcreator-plugin-ubuntu (Ubuntu)
Undecided
Unassigned

Bug Description

Using current vivid, with integrated menu (appmenu-qt5), the qtcreator files-> recent files/projects submenus are empty, they work fine if the qt theme env variable is empty (use local menus instead)

Changed in appmenu-qt5 (Ubuntu):
assignee: nobody → Łukasz Zemczak (sil2100)
Łukasz Zemczak (sil2100) wrote :

Interesting - I can reproduce it as well. This must be caused by those entries being added differently which makes appmenu-qt5 confused. In theory appmenu should handle all cases as we're basically fetching the QMenuBar's pointer from the application and just exporting things as they go, so in theory there should be no issue with getting out-of-sync.

Łukasz Zemczak (sil2100) wrote :

I just sat down to it once again. I probably found what specific thing in qtcreator causes the unwanted behaviour. It seems those two sub-menus are the only places where the creator is doing menu()->clear(); which I think might be what results in those issues in either appmenu-qt5 or the menu exporter itself. I'll prepare a stand-alone test-case and try debugging it. For now I'll set the appmenu-qt5 task as In Progress and then change it to the root cause itself.

I actually wonder if we didn't have the same problems in previous series?

Changed in appmenu-qt5 (Ubuntu):
status: New → In Progress

Not in scope of the SDK plugin

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Invalid
Roman Shchekin (mrqtros) wrote :

I can confirm this bug - out of the box my menu isn't working. Little bit annoying.

Changed in appmenu-qt5 (Ubuntu):
importance: Undecided → High
Eugene Pelekhay (pelekhay) wrote :

I think that reason of this issue is another bug https://bugs.launchpad.net/appmenu-qt5/+bug/1449373. Hope it helps

Sebastien Bacher (seb128) wrote :

those menus seem to work in wily now, unsure what changed though...

tags: added: rls-w-incoming
tags: added: rls-x-incoming
removed: rls-w-incoming
Changed in appmenu-qt5 (Ubuntu):
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers