Hi, thanks for reporting the bug! I’ll be releasing 1.5.1 soon, and I’d like to have this fixed there.
Could you run this in the Tools > Scripts > scripter, and tell me what is the outcome for your self compiled krita?:
print(Krita.instance().version())
For the rotation widget: I decided to have the widget, as I wanted to have those three zones: deadzone (to allow users go back to the original value), intervallic zone (to allow setting values to 0 easily) and precise zone. Those were pretty hard to navigate without any visual clue.
The problem with transparent widgets is that on Windows the original brush outline is displayed under the widget, but on Linux it isn’t, so when I want a widget, it needs some kind of indicator.
If you want to hack the widget, you can go to shortcut_composer > templates > rotation_menu_utils > rotation_style.py, and make the following change:
@property
def widget_radius(self) -> int:
"""Radius of the entire widget."""
- return round(self.inner_zone_radius + self.transparent_border)
+ return round(self.settings_button_radius)
to remove most of the widget, and leave only the settings button (which ideally should go to screen corner, but you won’t get it that fast)
The other thing you could do is to remove the value indicator and leave the outlines, by editing shortcut_composer > templates > rotation_menu_utils > rotation_widget_utils > rotation_painter.py
def paint(self, painter: Painter, state: WidgetState) -> None:
"""Paint the widget which created the passed painter."""
self._painter = painter
self._state = state
self._paint_deadzone_indicator()
self._paint_free_zone_indicator()
- self._paint_selection()