https://bugs.kde.org/show_bug.cgi?id=450184

            Bug ID: 450184
           Summary: Application-specific action "start_new_session" does
                    not appear in menu in a Plasma session
           Product: frameworks-kxmlgui
           Version: 5.90.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: aspotas...@gmail.com
  Target Milestone: ---

SUMMARY
Application-specific action "start_new_session" does not appear in menu or
toolbar in a Plasma session.

STEPS TO REPRODUCE
1. Build and run KTimeTracker from HEAD
(https://invent.kde.org/pim/ktimetracker/-/commit/32f33e4f0c3a6301ac7a8bb55e6741209dabb5fb),
an older version could also let you reproduce the bug.
2. Open File menu

OBSERVED RESULT
There is no menu item "File -> Start New Session". There are no relevant error
messages on the stderr/stdout, it just silently hides.

EXPECTED RESULT
There should be a menu item "File -> Start New Session" because the action
"start_new_session" is listed for the File menu in ktimetrackerui.rc, and the
same action "start_new_session" is registered by the C++ code (see
src/timetrackerwidget.cpp)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.23.5
(available in About System)
KDE Plasma Version:  5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Workarounds:
 A. Rename "start_new_session" to something else in the KTimeTracker source
code (e.g. to "new_session" or to "start_new_session_")
 B. Run KTimeTracker in Fluxbox (or another DE)

I wonder if Plasma defines a conflicting action with the same name
"start_new_session". If this is the case, could we maybe introduce namespaces
for actions in order to avoid such conflicts?
(Or at least make such conflicts noticeable to the users and/or developers?)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to