Skip to content

Draft: Synchronize Icon Task Manager's item width with the Kickoff icon

Jin Liu requested to merge work/genericity/kickoff-icon-width into master

Try to line up icons perfectly in the default panel.

Screencast_20240130_085901

The Kickoff icon, every 500ms, calls Task Manager's getIconItemSize() function via the Kicker plugin, and resizes itself.

This is only a proof-of-concept. TODO:

  1. Vertical panel.
  2. Currently, Kickoff queries Task Manager's item width every 500ms. Should be via notification, but I don't know how.
  3. Replace the hard-coded number compensating for margin around the Kickoff icon.

As @broulik pointed out, this is a dirty implementation, and it only works in Kickoff. The correct solution should make all icons in a panel the same size.

However, since this would probably work in 90% of cases, I think it could be nice to have at the moment.

BUG: 478862

Depends on plasma-workspace!3840 (closed)

@ngraham

Edited by Jin Liu

Merge request reports