Bug 368128 - Stops working after switching tag/workspace in dwm
Summary: Stops working after switching tag/workspace in dwm
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-02 01:16 UTC by acchan
Modified: 2016-09-21 21:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description acchan 2016-09-02 01:16:01 UTC
Every time I switch tags in dwm (http://dwm.suckless.org) Krita will stop drawing on canvas. If I try to save the work it will display the message "Waiting for image operation to complete..."
Everything else will still work, and I can even open a new canvas and draw on it.
However if I close the non-working tab it will hang the entire application.

I tried reproducing this on i3 and awesome. Neither triggered this bug.

Reproducible: Always
Comment 1 acchan 2016-09-02 03:03:31 UTC
## Quick tutorial to setup and use dwm ##

On a shell:
$ git clone http://git.suckless.org/dwm
$ cd dwm
$ sudo make clean install
It's installed.

* You'll also need dmenu, which is probably packaged in your distro. Install it with your package manager.
* Create a ~/.xinitrc file, put the line 'exec dwm' in it and save it.
* Switch to a TTY and run 'startx'.
You should be running dwm now.

* To launch Krita, press Alt+p, type krita, and press Return.
* To switch tags, use Alt+n, where n is the tag number.

This is all that's required to reproduce the bug. You can read the man page for more information on getting around dwm.

## Reproducing the bug once Krita is running ##

1. Create a new file of any size
2. Scribble on it to verify that it's working (optional)
3. Switch to a different wm tag with Alt+n or by clicking on it in the status bar.
4. Switch back to the Krita tag
5. Try to scribble on the canvas again.

At this point the bug will have already been triggered. You can change tools and generally interact with the rest of the Krita UI, but nothing will work on the canvas (except newly created ones) and other weird behavior will arise. Saving won't work by any means. Closing the tab will hang Krita.
Comment 2 Halla Rempt 2016-09-02 08:51:25 UTC
I am sorry, but I think you should report this bug to the dwm developers. There is no special code in Krita for working with window managers so if Krita works with all windows managers except for one, chances are high that it's the window manager that's at fault.
Comment 3 acchan 2016-09-21 21:19:07 UTC
I haven't had this problem after 3.0.1. Whatever caused it, it seems to be fixed.