Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/loader/cardpluginitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

namespace {
// Matches the hover delay of the tray items, see PluginItem.
constexpr int kToolTipDelay = 200;
constexpr int kToolTipDelay = 300;

void populateMenu(QMenu *menu, const QString &menuJson)
{
Expand Down
2 changes: 1 addition & 1 deletion src/loader/pluginitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PluginItem::PluginItem(PluginsItemInterface *pluginItemInterface, const QString
, m_tipsWidget(nullptr)
{
m_tooltipTimer->setSingleShot(true);
m_tooltipTimer->setInterval(200);
m_tooltipTimer->setInterval(300);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Medium · Quick-panel delay remains unchanged

When a tooltip is shown for a quick-panel item, QuickPluginItem::pluginTooltip() returns nullptr, so PluginItem::enterEvent() never starts the timer whose interval changes here. Quick-panel tooltips therefore keep their separate timing instead of becoming 300 ms.

Apply the 300 ms delay to the quick-panel tooltip path, or route those tooltips through the changed timer.

Prompt for AI agents
In `src/loader/pluginitem.cpp` at line 43:

**Quick-panel delay remains unchanged**

When a tooltip is shown for a quick-panel item, `QuickPluginItem::pluginTooltip()` returns `nullptr`, so `PluginItem::enterEvent()` never starts the timer whose interval changes here. Quick-panel tooltips therefore keep their separate timing instead of becoming 300 ms.

Apply the 300 ms delay to the quick-panel tooltip path, or route those tooltips through the changed timer.


if (m_dbusProxy.isNull())
m_dbusProxy.reset(new DockDBusProxy);
Expand Down
Loading