Skip to content

[Launcher] 搜索Keywords字段无用 #3375

Open

Description

@foresee-io

SUMMARY | 问题概要

注:因可能涉 specification 问题,笔者认为该 issue 反映 DDE 的 bug。

Updated 26/10/21

Related PRs:

Update 26/05/22

I've uploaded this issue to Deepin Home 深度之家 last week, and attached link this GitHub issue. The post names

全局搜索 未索引软件的关键词(Keywords)字段

补充 8/12 GenericName 字段也应被检索,它反映了应用程序的通用功能。例如 Rygel 的通用名是 UPnP/DLNA 服务。按规范所述,Name GenericName Keywords 三个字段互不重叠,都可用于提升搜索命中率。

FreeDesktop.org 桌面入口规范 第 1.1 版起引入了 Keywords 字段,可用于提高搜索命中率。

Keywords | A list of strings which may be used in addition to other metadata to describe this entry. This can be useful e.g. to facilitate searching through entries. The values are not meant for display, and should not be redundant with the values of Name or GenericName.

例如,以下为 eog.desktop 部分内容。

Name[zh_CN]=图像查看器
Keywords[zh_CN]=Picture;Slideshow;Graphics;图片;幻灯片;图像;
Keywords=Picture;Slideshow;Graphics;

那么当我搜索 slideshow 等词时,应该会有“图像查看器”的结果。

STEPS TO REPRODUCE | 复现步骤

  1. sudo apt install eog
  2. 可见启动器里新增了“图像查看器”图标
  3. 搜索其关键词之一 —— graphics

OBSERVED RESULT | 观察到的结果

并没有按预期返回结果
截图_选择区域_20220811095700

EXPECTED RESULT | 期望的结果

GNOME 等桌面环境已实现此规范。
截图_选择区域_20220811095638

SOFTWARE/OS VERSIONS | 软件/系统版本信息

Distribution: Deepin 20.6
Package: dde-launcher 5.5.19.1-1

ADDITIONAL INFORMATION | 额外补充

No response

Activity

  1. changed the title [-][Launcher] 搜索KeyWords字段无用[/-] [+][Launcher] 搜索Keywords字段无用[/+] on Aug 11, 2022
  2. foresee-io commented on Aug 12, 2022

    @foresee-io
    Author

    补充 8/12 GenericName 字段也应被检索,它反映了应用程序的通用功能。例如 Rygel 的通用名是 UPnP/DLNA 服务。按规范所述,Name GenericName Keywords 三个字段互不重叠,都可用于提升搜索命中率。

  3. BLumia commented on Aug 1, 2023

    @BLumia
    Member
  4. foresee-io commented on Dec 5, 2025

    @foresee-io
    Author

    This feature is still not implemented in the latest Deepin release.

    dde-launchpad 2.0.15
    dde-grand-search 6.0.25
    deepin-desktop-environment-core 2025.10.28
    
  5. foresee-io commented on May 16, 2026

    @foresee-io
    Author

    Any update on this? It seems not to be repaired even on latest dde-launchpad 2.0.33 and Deepin 25.

  6. BLumia commented on May 16, 2026

    @BLumia
    Member

    请问您这边有通过系统自带的《深度之家》应用反馈过这个问题吗?因为如果没有对应需求单的话应该不太能主动加这类支持,GitHub 这边主要是研发人员在看,通过深度之家可以让产品与测试知晓这个需求并做出回应...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions