! 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 !
Switch to other workspace when a window is raised there
Status:
RESOLVED: FIXED
Severity:
enhancement

Comments

Description mattam 2004-04-03 14:36:13 CEST
Here's a patch against xfwm-4.0.4 that switch workspace as required when a
window is supposed to be shown. I'm not sure this is the best way (first time
hacking xfce sources), but my guess is that it was overlooked. Very useful with
emacsclient :)
Comment 1 Olivier Fourdan editbugs 2004-04-03 16:16:47 CEST
sorry, this goes against #115 - I agree this should be the default behaviour,
unfortunately, it seems other DE took another path.

Olivier.
Comment 2 mattam 2004-04-03 17:37:08 CEST
I have first encountered this behaviour using latest kde versions, and i'm
pretty sure they follow freedesktop.org's recommendations.
Quoting the current WM spec draft:
"Activation
In the X world, activating a window means to give it the input focus. This may
not be possible if the window is unmapped, because it is on a different
desktop. Thus, activating a window may involve additional steps like moving it
to the current desktop (or changing to the desktop the window is on),
deiconifying it or raising it."

So the behavior is unspecified, and this is unrelated to actually starting
applications, where i also find that opening them on the current desktop is the
most natural thing to do (only startup applications need to be opened on
specific desktops usually).

If my patch effectively does what's described in #115, then I'll be happy to
know if it's possible to implement 'activation' without this 'remember
where i live' problem in xfce.
Comment 3 Harold Aling 2007-02-14 22:33:02 CET
Olivier,

What's your opinion on this subject now? Raising a window on an unmapped display should at least get some attention...
Comment 4 Harold Aling 2007-09-23 12:01:27 CEST
AFAIK, this is fixed in the current version of Xfce (4.4.x)

If this isn't fixed, feel free to reopen this bug.

-H-

Bug #166

Reported by:
mattam
Reported on: 2004-04-03
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

0000166-xfwm-raise.patch (914 bytes, text/x-patch)
2004-04-03 14:36 CEST , mattam
no flags

Additional information