Skip to content

Make tags clickable in preview panel - #13450

Open
xboxones1 wants to merge 1 commit into
keepassxreboot:developfrom
xboxones1:feature/click-tags
Open

Make tags clickable in preview panel#13450
xboxones1 wants to merge 1 commit into
keepassxreboot:developfrom
xboxones1:feature/click-tags

Conversation

@xboxones1

Copy link
Copy Markdown
Contributor

Clicking a tag in the preview panel now triggers a search for entries with that tag, matching the behavior of the main tag panel.

Screenshots

tags

Testing strategy

Manually

Type of change

  • ✅ New feature (change that adds functionality)

@droidmonkey

Copy link
Copy Markdown
Member

Great idea!

Comment thread src/gui/tag/TagsEdit.cpp
for (int i = 0; i < impl->tags.size(); ++i) {
if (impl->inCrossArea(i, event->pos())) {
viewport()->setCursor(Qt::ArrowCursor);
if (!impl->tags[i].isEmpty()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This same if sentence is repeated in the code. Maybe make it work as a separate function?

@droidmonkey droidmonkey changed the title [Feature] Make tags clickable in preview panel Make tags clickable in preview panel Jun 23, 2026
@droidmonkey droidmonkey added feature: Tags pr: new feature Pull request adds a new feature labels Jun 23, 2026
@droidmonkey droidmonkey added this to the v2.8.0 milestone Jun 23, 2026
@droidmonkey
droidmonkey self-requested a review June 23, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: Tags pr: new feature Pull request adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants