Skip to content

WIP: KisPopover Windows

Eoin O'Neill requested to merge (removed):popovers into master

Hypothesis / Motivation

There are many parts in the Krita code currently where popovers (or soft, small popup windows) exist but do not share a common code-base. For instance, many of the resource panels share this behavior. Additionally, there are a few cases where workflow could be improved by having softer windows where changes can be made without obscuring the art or canvas space (color selector, layer managers and more.) It could also be more friendly to touch interfaces by providing large symbolic buttons for opening, closing and modifying window contents.

This new class (KisPopover) is a new window type that can point to an origin and "unfold" controls/settings from that location. This helps indicate what property you are editing and also helps with getting the window contents out of the way of the canvas space.

popover

This is still a very experimental merge request and heavily under development. Since the Krita sprint is coming up soon, I decided I wanted to put this up here before attending. I will be interested to hear how people feel about this and whether it will actually provide a workflow improvement for artists.

Test Plan

TBD, still developing.

Remaining Tasks / Desired Goals

  • Fold Down popover direction.
  • Fold Up, Left and Right popover types.
  • Provide diagonal popover types.
  • Add white-trim to the popover to match existing popover design language.
  • Add some basic collision detection so that the window cannot open off screen.
  • Implement KisPopover for Dual Color Button
  • Implement KisPopover for Resource-Choosers.
  • Try KisPopover for Layer Settings and Properties windows.
Edited by Eoin O'Neill

Merge request reports