Bug 175822 - second button menu doesn't work
Summary: second button menu doesn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 03:51 UTC by gustavo panizzo <gfa>
Modified: 2009-02-22 18:50 UTC (History)
2 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 gustavo panizzo <gfa> 2008-11-22 03:51:45 UTC
Version:           2.1 (using KDE 4.1.3)
Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2)  
OS:                Linux
Installed from:    Gentoo Packages

if i press the second mouse button, the menu doesn't appear, i had this problem with kde 4.1.3 and 4.1.2

this is the error
konsole(10074) Konsole::SessionController::showDisplayContextMenu: Unable to display popup menu for session "gfa" , no GUI factory available to build the popup.

(session gfa is just a copy of Shell session, just for testing if this is session related, but don't)

edit menu just works.
help menu doesn't. it doesn't give any error

if i run konsole with a "new" (no .kde directory) i have the same problems.
tried deleting /tmp/kde-$USER and /var/tmp/kdecache-$USER but it didn't work

if you want me to run konsole with strace or something, just let me know, i'm willing to help.
Comment 1 Kurt Hindenburg 2008-12-09 18:11:59 UTC
You are running a standard Gentoo on 1 display/screen?  Does the context menu work on other KDE apps?  Konqueror?
Comment 2 gustavo panizzo <gfa> 2008-12-09 18:32:43 UTC
yes, they are standar gentoo pkgs and just one (local) display.
yes, menu works on other apps, but i just realized 
that gwenview's menu instead of file, edit, etc it just says "No text"


thanks
Comment 3 Nils Buechner 2009-01-30 04:03:01 UTC
Same problem here.No menu popup and missing text ("No text") in Dolphin instead of "File", "Edit" and so on.

Gentoo
KDE 4.2
gcc version 4.3.3 (Gentoo 4.3.3 p1.0, pie-10.1.5)
Qt 4.4.2
Comment 4 JG 2009-01-30 18:43:39 UTC
i've had the same problem (also gentoo; e.g. "no text" menu entries in dolphin, no right click in konsole, akonadi mysql didn't find its configuration file, kdm didn't start kde but spawned a konsole, ...) but i solved it. it seems that for some unknown reason the directory /usr/share/config had the permissions 700 and was owned by root. so my user had no access and many parts of kde didn't work properly..

i've set the directory to 755 and it works fine now. i have no idea what went wrong, because at another gentoo machine the permissions are correct. i also found this in kdelibs/kdelibs-4.2.0.ebuild, which should set the perms:
  # Ensure that the correct permissions are set on ${PREFIX}/share/config
  fperms 755 "${PREFIX}"/share/config

JG
Comment 5 Nils Buechner 2009-01-30 18:49:49 UTC
Thank you so much. This really solved the problem.
So i suggest a -> closed/solved here.