This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kget: missing menus

Tags: kget, menu, problem kget, menu, problem kget, menu, problem
(comma "," separated)
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Kget: missing menus

Sun Dec 01, 2013 7:57 pm
Hello,
my Kget is missing some menu entries, such as settings (see screenshot), but also help is empty.
http://666kb.com/i/cjqbpfafxkh1brb38.png
When I start Kget via console, this is the output:
Code: Select all
[richard@chakra ~]$ kget
KGlobal::locale(): Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
bool DBusMenuExporterDBus::AboutToShow(int): Condition failed: menu
kget(10009)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kget(10009)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[richard@chakra ~]$ Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
"/org/freedesktop/UDisks2/drives/TOSHIBA_MK1637GSX_Z75EFJZWS" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/PIONEER_DVD_RW__DVR_K17A" : property "Drive" does not exist
kget(10009)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:


I already deleted all kgetrc related files in ~/.kde4/share/config/ , but no change...

However under a different user everything works as expected.

Any clues?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Kget: missing menus

Sun Dec 01, 2013 8:31 pm
try:
- logout of your KDE session
- login to a virtual terminal (alt+ctrl+F1) and remove your KDE cache - /var/tmp/kdecache-username
- log back in and run: kbuildsycoca4 --noincremental 2> /dev/null


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Kget: missing menus

Sun Dec 01, 2013 9:44 pm
Unfortunate this didn't help...


PS:
When I run kbuildsycoca4 --noincremental > /dev/null (without the 2)
I see lots of download_randomname_pdf.desktop files which kbuildsycoca4 is complaining about. Looks like some of my downloads generated a desktop file... I don't think it is related to this problem, but would be nice to get rid of them, but I can't find these files....
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Kget: missing menus

Sun Dec 01, 2013 11:53 pm
can you think of anything different between when it ran and now when it doesn't?

is the setting menu the only one adversely affected?

there is a kget folder in $KDEHOME/shar/apps that should not affect the menus but you could try renaming it

can you try changing the app style to Oxygen in systemsettings


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Kget: missing menus

Mon Dec 02, 2013 12:46 am
google01103 wrote:can you think of anything different between when it ran and now when it doesn't?
You mean kbuildsyscoca? Didn't notice any difference.
google01103 wrote:is the setting menu the only one adversely affected?
No, the help menu is (also) empty.

google01103 wrote:there is a kget folder in $KDEHOME/shar/apps that should not affect the menus but you could try renaming it
You sure? I found file:///usr/share/apps/kget/kgetui.rc:
Code: Select all
<!DOCTYPE kpartgui>
<kpartgui name="kget" version="8">
<MenuBar>
    <Menu noMerge="1" name="file"><text>&amp;File</text>
        <Action name="new_download"/>
        <Action name="import_links"/>
        <Separator/>
        <Action name="import_transfers"/>
        <Action name="export_transfers"/>
        <Action name="create_metalink"/>
        <Separator/>
        <Action name="transfer_history" />
        <Separator/>
        <Action name="file_quit"/>
    </Menu>
        <Menu noMerge="1" name="Downloads"><text>&amp;Downloads</text>
        <Action name="start_all_download"/>
        <Action name="start_selected_download"/>
        <Separator/>       
        <Action name="stop_all_download"/>
        <Action name="stop_selected_download"/>
        <Separator/>
        <Action name="priority_top"/>
        <Action name="priority_up"/>
        <Action name="priority_down"/>
        <Action name="priority_bottom"/>
        <Separator/>
        <Action name="delete_selected_download"/>
        <Action name="delete_all_finished"/>
        <Separator/>
        <Action name="edit_groups"/>
    </Menu>
   <Menu name="settings"><text>&amp;Settings</text>
        <Action name="show_drop_target"/>
    </Menu>
    <Menu name="help"><text>&amp;Help</text>
    </Menu>
</MenuBar>
<ToolBar fullWidth="true" name="kget_toolbar"><text>Main Toolbar</text>
    <Action name="new_download"/>
    <Separator lineSeparator="true"/>
    <Action name="start_menu"/>
    <Action name="stop_menu"/>
    <Action name="delete_selected_download"/>
    <Action name="delete_all_finished"/>
</ToolBar>
</kpartgui>
looks broken to me.

google01103 wrote:can you try changing the app style to Oxygen in systemsettings
It is all oxygen.
User avatar
google01103
Manager
Posts
6668
Karma
25

Mon Dec 02, 2013 1:07 am
I assume it once worked correctly for you, correct? do recall when it stopped working and if you had a crash or did an update just before or something?

$KDEHOME/shar/apps is where KDE apps keep application data so it's either ~/.kde/share/apps/kget or ~/.kde4/share/apps/kget (I originally mispelled "share" as "shar")

the rc file in /usr/share is used by all users so if other users are correct it is not the cause of your problem

no other KDE apps have missing menus items?

guess it didn't appear to be Oxygen to me because you cropped off the buttons in the pic

sorry all out of ideas


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re:

Mon Dec 02, 2013 7:48 am
>I assume it once worked correctly for you, correct? do recall when it stopped working and if you had a crash or did an update just before or something?
Actually I'm not sure if it worked ever correctly, but I would guess so since it works on other accounts.

> $KDEHOME/shar/apps is where KDE apps keep application data so it's either ~/.kde/share/apps/kget or ~/.kde4/share/apps/kget ...
> the rc file in /usr/share is used by all users so if other users are correct it is not the cause of your problem
Maybe they have it cached(?). What does your file:///usr/share/apps/kget/kgetui.rc looks like?

> no other KDE apps have missing menus items?
Not that I'm aware of...

I also de-& reinstalled kget in pacman, with /some/ success, Kget starts now way faster then before (2s vs ~10s), but still no menu ... :-(
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kget: missing menus

Mon Dec 02, 2013 8:26 am
Try to press Ctrl+M.
This should toggle the menu on/off.

For KGet the menu was off by default here as well, but Ctrl+M turned it on again.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Kget: missing menus

Tue Dec 03, 2013 8:02 am
Based on the output you have provided, my primary suspect here would the D-Bus menu exporter, which would be used to provide a panel based menu (OS X style). Have you configured this or installed the necessary Qt component in the past?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Kget: missing menus

Thu Dec 05, 2013 9:37 am
bcooksley wrote:Based on the output you have provided, my primary suspect here would the D-Bus menu exporter, which would be used to provide a panel based menu (OS X style). Have you configured this or installed the necessary Qt component in the past?
IIRC, I tried the setting once out, to see what it does. However, I never installed a panel or any package to actually have a menu in that style.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Kget: missing menus

Fri Dec 06, 2013 9:47 pm
Okay, please confirm it is set to off.

Are any other KDE applications affected by this issue? Taking a closer look, it would seem that the globally provided Settings menu items are the ones which are missing.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Kget: missing menus

Sun Dec 08, 2013 9:26 pm
bcooksley wrote:Okay, please confirm it is set to off.
Yes, it is. Just switched it back and forth to top-screen and in app -> no change.

bcooksley wrote:Are any other KDE applications affected by this issue? Taking a closer look, it would seem that the globally provided Settings menu items are the ones which are missing.
Didn't notice any missing entries in other apps so far.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Kget: missing menus

Sun Dec 08, 2013 10:02 pm
This might sound stupid, but did you try re-installing the application? Also remove ~/.kde4/share/config/kgetrc again when you do that.
But I'm just guessing around here.


I'm working on the KDevelop IDE.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Kget: missing menus

Mon Dec 09, 2013 6:27 am
If that doesn't have any effect, does it appear correctly under a new user?
Have you attempted to self-compile or otherwise install KGet from sources outside your distribution's primary release repositories?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Kget: missing menus

Sat Dec 14, 2013 9:59 am
Hello,
yes, I tried reinstalling, no effect.

Yes, it works under another user (as I wrote above :-).

No, I haven't self compiled packages or packages from any other sources than my distro repo.

I noticed now, that there also some menus missing in rekonq also.


So what can I do, delete my .kde folder?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]