! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Focus problem using KDevelop
Status:
RESOLVED: INVALID

Comments

Description Bernhard Walle 2004-12-27 23:54:35 CET
With the KDevelop "Debug toolbar", the KDevelop main window cannot be focused,
i.e. mouse actions are possible but it is not possible to enter text. With the
KDE window manager, there's no problem.

It may be a bug of KDevelop, of course.

Reproducible: Always
Steps to Reproduce:
1. Start KDevelop
2. New project, C, Simple Hello World, "Test" as name, well, doesn't matter
3. Project menu, Project Settings, Components, [x] Debugger.
4. Set a breakpoint where printf() is.
5. Build the project, KDevelop automatically asks if it sould run auto*.
6. Debug the program. There should appear a floating window with no window
decrocation but with a Break/Continue/  etc. button.

Actual Results:  
If this window appears, it is not possible to enter text in the KDevelop main
IDE window.

Expected Results:  
It should be possible to enter text.
Comment 1 Jasper Huijsmans editbugs 2004-12-29 08:02:57 CET
Olivier, do you think this can be related to our handling of dock type windows?
Even if that was taken from kwin in the first place...
Comment 2 Olivier Fourdan editbugs 2004-12-30 18:02:20 CET
sorry I'm not seeing any floating window nor any focus problem here...

Can you post the results of "xprop" and "xwininfo" of that "floating" window ?
Comment 3 Bernhard Walle 2004-12-30 18:52:55 CET
Created attachment 137 
Floating window
Comment 4 Bernhard Walle 2004-12-30 18:53:17 CET
Created attachment 138 
KDevelop main window
Comment 5 Olivier Fourdan editbugs 2004-12-30 20:26:57 CET
Ok, it's what  I thought, the floating window is a modal:

_NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL, _NET_WM_STATE_SKIP_TASKBAR,
_NET_WM_STATE_ABOVE

Therefore the focus remains on that window, that's the normal expected behaviour.

No bug here. The fact taht "it works with KDE" might explain why that bug has
not been detected before.
Comment 6 Olivier Fourdan editbugs 2004-12-30 20:28:37 CET
It it a dock. Such an interesting concept, a "dock" window, "modal" :)
Comment 7 Olivier Fourdan editbugs 2005-01-01 22:06:24 CET
Bernhard,

I'm closing that bug as it's really a problem with KDevelop that needs to be
addressed by KDevelop, not Xfce.

I've added a work-arround in xfwm4 so that it ignore modality when dealing with
non-regular windows (such as docks), but it's by no way a fix.

Could you check that the work arround helps?

Cheers,
Olivier.
Comment 8 Bernhard Walle 2005-01-01 22:21:32 CET
I reported it as bugreport in KDevelop a few days ago, but no response until
now. I'll check the workaround as soon as possible.
Comment 9 Bernhard Walle 2005-01-02 23:48:18 CET
Works, thanks. 

BTW: http://bugs.kde.org/show_bug.cgi?id=96047

Bug #619

Reported by:
Bernhard Walle
Reported on: 2004-12-27
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

Floating window (1.19 KB, text/plain)
2004-12-30 18:52 CET , Bernhard Walle
no flags
KDevelop main window (22.89 KB, text/plain)
2004-12-30 18:53 CET , Bernhard Walle
no flags

Additional information