Bug 431682 - Canvas not taking back focus after popup closes (only with a tablet pen)
Summary: Canvas not taking back focus after popup closes (only with a tablet pen)
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: 4.4.2-beta2
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-16 11:31 UTC by Manga Tengu
Modified: 2022-07-05 10:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manga Tengu 2021-01-16 11:31:01 UTC
Everytime I open a popup, like HSV/HSL adjustment for example (cmd+U) when I close the popup I cannot navigate with the stylus or mouse before I click back again on the canvas.
Canvas should automatically take back focus if it had it before the popup opens as the actual situation leads to useless clicks + undoing the generated brush stroke.


STEPS TO REPRODUCE
1. cmd + U and close the popup the way you want
2. try to pan, zoom, rotate

OBSERVED RESULT
The canvas won't navigate until you click on it again

EXPECTED RESULT
the canvas should take back focus

macOS: big sur

ADDITIONAL INFORMATION
Comment 1 Manga Tengu 2021-01-16 12:18:54 UTC
I think it's the same issue as when you alt tab (cmd tab) back in krita, navigation won't work until you click the canvas.
Comment 2 vanyossi 2021-01-18 00:00:20 UTC
The behaviour is not related.

However I cannot confirm the bug as focus is always returned on both my macs.
Comment 3 Manga Tengu 2021-01-18 10:59:25 UTC
I didn't realize but it only fails with my stylus.
I have put a click on one of the stylus button. This is what doesn't work. Doing it with the mouse works fine.
Comment 4 Manga Tengu 2021-01-18 11:00:14 UTC
and about my stylus and tablet it's an intuos pro medium with a normal grip pen 2
Comment 5 Halla Rempt 2022-07-05 08:54:04 UTC
I can reproduce neither behaviour  with my stylus. After closing the filter dialog, I can pan, and after alt-tabbing back from another application, I can pan.
Comment 6 Halla Rempt 2022-07-05 08:54:28 UTC
(Oh, this is on a cintiq, not sure the model, with the latest drivers on an M1 mac)
Comment 7 Manga Tengu 2022-07-05 10:30:26 UTC
As of today with 5.0.2 I don't reproduce it either.