Skip to content

Feat: Add Ctrl+F search for log section (#8332) - #9354

Closed
Ashutosh0x wants to merge 1 commit into
deskflow:masterfrom
Ashutosh0x:feat/8332-ctrl-f-log-search
Closed

Feat: Add Ctrl+F search for log section (#8332)#9354
Ashutosh0x wants to merge 1 commit into
deskflow:masterfrom
Ashutosh0x:feat/8332-ctrl-f-log-search

Conversation

@Ashutosh0x

Copy link
Copy Markdown
Contributor

Fixes #8332. Adds Ctrl+F keyboard shortcut to search the log section in the main window.

Features:

  • Search bar appears when Ctrl+F is pressed
  • Find next (Enter or down button) / Find previous (up button)
  • Wrap-around search when reaching end/beginning
  • Close button to hide the search bar

@Ashutosh0x
Ashutosh0x requested a review from a team January 17, 2026 07:56

@sithlord48 sithlord48 left a comment

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.

Does not build.

Do not submit code you have not locally build and tested.

Comment thread src/lib/gui/widgets/LogWidget.h Outdated
@Ashutosh0x

Copy link
Copy Markdown
Contributor Author

@sithlord48 Added missing includes (QIcon, QFontDatabase) to LogWidget.cpp and cleaned up LogWidget.h. Should build now.

@sithlord48 sithlord48 left a comment

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.

the problem was not your missing includes its you using slots instead of Q_SLOTS . Are you even building these changes before you submit

@sithlord48
sithlord48 marked this pull request as draft January 17, 2026 13:27
@Ashutosh0x
Ashutosh0x marked this pull request as ready for review January 17, 2026 14:45
@sithlord48
sithlord48 marked this pull request as draft January 17, 2026 15:34
@sithlord48

Copy link
Copy Markdown
Member

you have not fixed the build issues.

@Ashutosh0x

Copy link
Copy Markdown
Contributor Author

@sithlord48 Fixed the style issue by replacing slots with Q_SLOTS in LogWidget.h. I apologize for the oversight; I am focusing on ensuring compatibility with the project's coding standards.

@Ashutosh0x
Ashutosh0x marked this pull request as ready for review January 17, 2026 16:05

@sithlord48 sithlord48 left a comment

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.

Please fix the lint issues.
Remove any unneeded includes

@sithlord48
sithlord48 marked this pull request as draft January 17, 2026 16:10
Comment thread src/lib/gui/widgets/LogWidget.cpp Outdated
Comment thread src/lib/gui/widgets/LogWidget.cpp Outdated
Comment thread src/lib/gui/widgets/LogWidget.cpp Outdated

@sithlord48 sithlord48 left a comment

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.

Do not fix proposed commits with new commits.
append commits 2 and 3 to commit 1

@Ashutosh0x

Copy link
Copy Markdown
Contributor Author

@sithlord48 I've updated the log search icons to use QIcon::ThemeIcon::GoUp and QIcon::ThemeIcon::GoDown as requested. I've also changed the close icon to view-close and ran clang-format on the modified files.

@Ashutosh0x

Copy link
Copy Markdown
Contributor Author

@sithlord48 I've updated the log search icons to use QIcon::ThemeIcon::GoUp and QIcon::ThemeIcon::GoDown as requested. I've also changed the close icon to view-close, ran clang-format, and squashed the commit history into a single clean commit.

@sithlord48 sithlord48 left a comment

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.

It works (had to rebased again, your local base it not upto date

I really don't like the UX around this..ill likey redo it all.
Idk that we should use keyboard shortcut for this but instead a button.. If you dont mind i might take this over for the UX parts.

id perfer a search button that when depressed expands to show the search controls

@Ashutosh0x

Ashutosh0x commented Jan 17, 2026

Copy link
Copy Markdown
Contributor Author

@sithlord48 No problem at all! I'm glad the functional part works. I definitely don't mind you taking over the UX parts your better understanding of the project's design language will ensure a much better result. Thank you for the guidance and for taking the time to refine this!

@sithlord48

Copy link
Copy Markdown
Member

Btw we have a matrix channel if you plan to contribute alot might be a good idea to join it

@Ashutosh0x

Copy link
Copy Markdown
Contributor Author

@sithlord48 Thanks for the invite! I'd love to join the Matrix channel — where can I find the link or address? I'm definitely interested in contributing more to the project.

@sithlord48

sithlord48 commented Jan 17, 2026

Copy link
Copy Markdown
Member

@sithlord48 Thanks for the invite! I'd love to join the Matrix channel — where can I find the link or address? I'm definitely interested in contributing more to the project.

its in the main readme

https://matrix.to/#/#deskflow-dev:matrix.org

@Ashutosh0x

Copy link
Copy Markdown
Contributor Author

@sithlord48 Thanks for the invite! I'd love to join the Matrix channel — where can I find the link or address? I'm definitely interested in contributing more to the project.

its in the main readme

https://matrix.to/#/#deskflow-dev:matrix.org

i have joined the discussion

sithlord48 added a commit that referenced this pull request Jan 17, 2026
@sithlord48 sithlord48 mentioned this pull request Jan 17, 2026
sithlord48 added a commit that referenced this pull request Jan 17, 2026
@sithlord48

Copy link
Copy Markdown
Member

Replaced by #9356.

@sithlord48 sithlord48 closed this Jan 17, 2026
sithlord48 added a commit that referenced this pull request Jan 17, 2026
sithlord48 added a commit that referenced this pull request Jan 17, 2026
sithlord48 added a commit that referenced this pull request Jan 18, 2026
sithlord48 added a commit that referenced this pull request Jan 19, 2026
nbolton pushed a commit that referenced this pull request Jan 19, 2026
sithlord48 added a commit that referenced this pull request Jan 19, 2026
sithlord48 added a commit that referenced this pull request Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Ctrl+F for log section in main window

2 participants