The above thread describes a problem I hadn't noticed because it seems to appear only in certain WMs.
Open a new drawing in GIMP, start editing text. According to the GIMP people, it should be possible to move the text around while the text editor is still open.
This does not work in XFCE 4.4.3.
Note that this kind of editing was not possible in older GIMPs - I believe the text editor window appeared in GIMP 2.4.x.
The only way to move text, is to click on the move tool, which closes the text editor.
I have XFCE 4.4.3 ('home compiled'), xorg 7.4 (idem), and GIMP 2.4.7
This is not a matter of life-or-death, as it is always possible to re-open the editor, and continue editing. But this problem might be upsetting the workings of other programs too.
GIMP user mail list thread:
Please provide a simple explanation on how to reproduce the bug, reading a whole thread to determine how to reproduce a problem is by no mean efficient for me.
Wrt the last comment, xfwm4 is not treating transients as modals.
btw it works just fine for me
clearly, the gimp is changing focus back to the editing dialog (easily noticeable as the decorations blink), not the WM, but still that does not stop from moving the text using the mouse.
To produce the problem, as stated above:
- Open the GIMP
- Open a new drawing,
- Click on the text tool,
- Click anywhere on the drawing to start editing text
Try to move the text with the cursor without closing the text editor.
NEW: I hadn't notice before, but when (trying to) starting dragging the text, the focus switches back to the edit window immediately (which makes it impossible for the drawing window to receive any cursor move events, I suppose).
As it seems to be a focusing issue, I tried several combinations of 'focus' settings, but none produce the desired effect.
It seems to me that focus shouldn't switch back to the editor window.
As Olivier noted too, the focus switches back, but _here_ the text doesn't move at all.
I wonder if what happens here isn't more logical - Can a window receive mouse events if it isn't focused?
The application changes the focus, not the WM. There is no such thing as "mouse" focus, focalisation is for keyboard, mouse events are sent to the windows independently of the focused window.
Try with othe WM (metacity, kwin -from KDE 4-), they all behave the same.
Can you please verify for us that you have gimp 2.6? In that gimp mailing list thread referenced, some person (don't remember who) explicitly mentioned that they were using gimp 2.4.
That feature was added in gimp 2.6 as mentioned in the gimp release notes:
See "Minor Changes" section.
This bug mentions gimp 2.4, which does not have this feature, tested in kwin, metacity and openbox.
As far as I can determine, on the changes page mentioned, I cannot find any mention to the text movement. The reference to the bounding box is not relevant, it's only to obtain wrapping.
Also, in the original thread (on GIMP users) both users (me and the other one) mention using 2.4.7, and _then_ Sven says it should work (or the WM is broken).
BTW, I have no other WM installed at the moment. I'll install another WM later today and report.
Sorry about all the paper wasted, but I just compiled GIMP 2.6.2, and it seems
there is no problem - text _is_ movable now.
I guess Sven on the GIMP list hadn't registered I was using 2.4.7 of GIMP, and told me it should work.
Thanks for the attention.
This wasn't an XFCE problem at all (see previous comment)