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

            Bug ID: 513761
           Summary: KRunner fails to search/list Activities due to
                    kactivitymanagerd SQL syntax error "near '.'"
    Classification: Plasma
           Product: krunner
      Version First 6.5.4
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

SUMMARY KRunner fails to list or search for Plasma Activities on Arch Linux.
Despite the plasma-kactivitymanagerd.service being active and activities being
correctly reported via D-Bus, KRunner returns no results. The service logs a
persistent SQL syntax error that prevents metadata from being indexed or served
to KRunner.

STEPS TO REPRODUCE

    Create one or more Activities in System Settings.

    Open KRunner (Alt+Space).

    Type the name of an existing Activity (e.g., "Lavoro").

    Observe that no Activity results are shown.

    Check the log file at
~/.local/share/kactivitymanagerd/resources/errors.log.

OBSERVED RESULT KRunner returns no results for activities. The log file
consistently shows: error: near ".": syntax error Impossibile eseguire il
comando Attempts to mitigate this by setting
kactivitymanagerd_plugin_sqliteEnabled=false in kactivitymanagerdrc do not stop
the error from appearing, nor do they restore KRunner functionality.

EXPECTED RESULT KRunner should correctly display matching Activities and allow
switching between them.

SOFTWARE/OS VERSIONS

    Operating System: Arch Linux

    KDE Plasma Version: 6.5.4

    KDE Frameworks Version: 6.21.0

    Qt Version: 6.10.1

    Kernel Version: 6.18.2-arch2-1 (64-bit)

    Graphics Platform: Wayland

ADDITIONAL INFORMATION

    Manual D-Bus calls (qdbus6 org.kde.ActivityManager
/ActivityManager/Activities ListActivities) correctly return the Activity IDs,
but ActivityName often returns empty even when defined in kactivitymanagerdrc.

    The syntax error near "." appears immediately upon service restart, even
after deleting the ~/.local/share/kactivitymanagerd/resources/ directory.

    This suggests an invalid SQL query (possibly a malformed PRAGMA or table
reference) generated by the daemon that is incompatible with current SQLite
versions.

    Reinstalling kactivitymanagerd and kactivities-stats does not fix the
issue.

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

Reply via email to