WayfireWM / WayfireWM/wf-shell

Command-output tooltip execution spam

Open
#265 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
179
Forks
55
Avg merge
16d 1h
Merged PRs (30d)
3

Description

When a command_output_tooltip_* key is used we get excessive calling of the command on mouseovers.

https://github.com/WayfireWM/wf-shell/blob/3e7576f1a74abf746d3b6c3da914a428bbbd2ca7/src/panel/widgets/command-output.cpp#L131

The signal_query_tooltip callback is called for all mouse movement over the widget.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/panel/widgets/command-output.cpp at the cited location and inspect how the signal_query_tooltip callback invokes the command. Reproduce the issue by moving the mouse over the widget while using a command_output_tooltip_* key. Done means mouse movement no longer causes excessive command executions while tooltip behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.