Skip to content

Conversation

@amnweb
Copy link
Owner

@amnweb amnweb commented Sep 7, 2025

  • Introduced a new preview feature for taskbar widgets that displays window thumbnails.
  • Added configuration options for preview settings including width, delay, padding, and margin.
  • Implemented a TaskbarThumbnailManager to manage thumbnail creation and display.
  • Enhanced DraggableAppButton to trigger previews on hover.

Options:

preview: 
  enabled: true
  width: 300 # The width of the preview thumbnail in pixels.
  delay: 200 # The delay in milliseconds before showing the preview after hovering over an application icon.
  padding: 8 # The padding around the preview thumbnail in pixels.
  margin: 8 # The margin between the preview thumbnail and the taskbar in pixels.

Note:
When preview is enabled tooltip are automatically disabled to avoid overlap.

Taskbar preview popup is very limited in styling options, do not use margins/paddings here

.taskbar-preview {
    border-radius: 8px; 
    background-color:#2b2c2d; 
}
.taskbar-preview .header {
    padding-bottom: 12px;
    padding-top: 4px;
}
.taskbar-preview .header .title {
    color: #d6d6d6;
    font-family: "Segoe UI";
    font-weight: 600;
    font-size: 13px;
}
Screenshot 2025-09-07 193901

@amnweb amnweb force-pushed the feature/taskbar-thumbnails branch 2 times, most recently from 5e2e756 to 1407dc5 Compare September 7, 2025 18:19
- Introduced a new preview feature for taskbar widgets that displays window thumbnails.
- Added configuration options for preview settings including width, delay, padding, and margin.
- Implemented a `TaskbarThumbnailManager` to manage thumbnail creation and display.
- Enhanced `DraggableAppButton` to trigger previews on hover.
@amnweb amnweb force-pushed the feature/taskbar-thumbnails branch from dccc0b1 to bc5c401 Compare September 7, 2025 19:08
@amnweb amnweb merged commit ec8b150 into main Sep 9, 2025
3 checks passed
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.

1 participant