Bug 251285 - Submenus (favourites, recent apps) disappear in simple kickoff
Summary: Submenus (favourites, recent apps) disappear in simple kickoff
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-kickoff (show other bugs)
Version: 4.8.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 208873 243240 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-15 10:53 UTC by Fabio
Modified: 2018-06-08 19:53 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio 2010-09-15 10:53:22 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

if i remove konqueror, the voice in the menu remain with no icon and a strange name

Reproducible: Always

Steps to Reproduce:
remove konqueror from favourites
Comment 1 Aaron J. Seigo 2010-09-16 18:42:01 UTC
please attach a screen that displays the problem on your system. thank you in advance :)
Comment 2 Fabio 2010-09-16 18:57:27 UTC
here is a video: http://www.youtube.com/watch?v=MYYxHSo01BI
Comment 3 Aaron J. Seigo 2010-09-16 19:18:59 UTC
... which has already been removed from youtube :/
Comment 4 Fabio 2010-09-16 19:27:34 UTC
sorry, seems that youtube don't like ogg videos.

ok it's on my FTP: http://gmcworld@gmcworld.altervista.org/out-1.ogv
Comment 5 Aaron J. Seigo 2010-09-16 21:59:51 UTC
thanks. to summarize:

when right clicking on an application entry that has been "favourited" in the normal app launcher section of the menu, and selecting "Remove from Favorites" that the favorites menu disappears and does not come back until the widget is restarted.

this is because MenuView::modelReset() gets called, which deletes the entire submenu, and that menu is never recreated. it is only created when the whole menu is re-created in MenuLauncherApplet::showMenu with the following line:

d->addModel(new Kickoff::FavoritesModel(menuview), Favorites);

really, the menu shouldn't delete itself entirely but clear() and then reload from the models. it looks like this means tracking a few bits of information like relativePath and the MenuView::ModelOptions used with that model.
Comment 6 Fabio 2010-09-20 16:23:56 UTC
I can also make "recents" menu disappear:

http://gmcworld.altervista.org/recents_bug.ogv
Comment 7 Björn Ruberg 2010-10-16 22:07:08 UTC
I tried to fix it - but I failed. Code is to complicated ... or can I say messy?
Comment 8 Björn Ruberg 2010-10-16 22:12:32 UTC
*** Bug 243240 has been marked as a duplicate of this bug. ***
Comment 9 Giorgos Tsiapaliokas 2011-01-11 12:30:03 UTC
i can reproduce the bug.

my box's specification are,


Qt: 4.7.1
KDE Development Platform: 4.6.40 (4.7 >= 20101222)
os:gentoo ~amd64
Comment 10 Fabio 2011-11-20 16:26:28 UTC
the bug is still present in KDE 4.7.2
Comment 11 Jekyll Wu 2011-12-24 15:21:33 UTC
*** Bug 208873 has been marked as a duplicate of this bug. ***
Comment 12 Fabio 2012-01-30 16:55:33 UTC
still present in KDE 4.8
Comment 13 Nate Graham 2018-06-08 19:53:47 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham