Skip to content

"Peek" panel for 1.5 seconds when highlighted#8659

Merged
clefebvre merged 2 commits into
linuxmint:masterfrom
itzexor:panel-peek-highlight
Jun 28, 2019
Merged

"Peek" panel for 1.5 seconds when highlighted#8659
clefebvre merged 2 commits into
linuxmint:masterfrom
itzexor:panel-peek-highlight

Conversation

@itzexor

@itzexor itzexor commented Jun 23, 2019

Copy link
Copy Markdown
Contributor

This makes the highlighted panel show for 1.5 seconds if it is autohidden when selected by panel or applet settings.

Also: Oops, accidentally hit enter and opened this as just " with no other info initially.

edit: the rework commit looks like more changes than it is in the unified diff. It just moves the panel edit mode or peeking check to the top, and skips calculating autohide (especially the intelligent mode) when either are true.

Fixes: #8616

itzexor added 2 commits June 23, 2019 11:29
Panels are highlighted by cs_panel.py and cs_applet.py to indicate
which panel you're working on. With hidden panels, it can be very
difficult to notice as only a 1 pixel strip is visible.

This makes a hidden panel show for PEEK_PANEL_TIME milliseconds
when highlight is turned on. Currently 1500ms.
To optimize for panel edit mode and peeking cases, especially when
using intelligent autohide.
@itzexor itzexor changed the title " "Peek" panel for 1.5 seconds when highlighted Jun 23, 2019
@clefebvre clefebvre merged commit 0e4d450 into linuxmint:master Jun 28, 2019
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.

Editing hidden panels: the red line showing which panel is at issue seems too thin to be usable

2 participants