- Apply the patch and then this one for Krita: D19120
- Rebuild and install both apps
- Run `sudo update-desktop-database`
- Right-click on a .kra file in Dolphin. Krita shows up as the top app to open it, with Gwenview ashowing up in the "Open With" menu