Discussion:
Existing window not raised (remains hidden) when using nc
Arne Forlie
2009-11-18 21:47:41 UTC
Permalink
After updating from RHEL4 to RHEL5.3 NEdit has changed behaviour.

The NEdit window is no longer raised when nc is used to open a file in
an existing window.

E.g.
nc file.c # NEdit Window is raised to the top

-- raise other windows to hide the NEdit window

nc file.c # NEdit Window is NOT raised to the top
# but remains hidden by other windows


I experience this on work where we recently updated from RHEL4 to
RHEL5.3, and at home where I use Ubuntu 9.04.

In both cases I use Gnome.

Any ideas on how to solve this annoyance?



I rebuilt NEdit on my Ubuntu box with the latest from CVS, but it made
no difference.

NEdit release of Nov 18, 2009

Built on: Linux, 486, GNU C
Built at: Nov 18 2009, 22:20:43
With Motif: 2.1.31 [@(#)Motif Version 2.1.31]
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 10600000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C


Best regards,
Arne
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2009-11-18 22:20:00 UTC
Permalink
Post by Arne Forlie
After updating from RHEL4 to RHEL5.3 NEdit has changed behaviour.
The NEdit window is no longer raised when nc is used to open a file in an
existing window.
E.g.
 nc file.c      # NEdit Window is raised to the top
 -- raise other windows to hide the NEdit window
 nc file.c      # NEdit Window is NOT raised to the top
               # but remains hidden by other windows
I experience this on work where we recently updated from RHEL4 to RHEL5.3,
and at home where I use Ubuntu 9.04.
In both cases I use Gnome.
Any ideas on how to solve this annoyance?
Can you try patch #2337783 from the tracker.

http://sourceforge.net/tracker/?func=detail&aid=2337783&group_id=11005&atid=311005

I have it applied, but don't know if it solves this problem.

Bert
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2009-11-21 19:07:54 UTC
Permalink
Thank,
that solved the problem, at least on Ubuntu. Expect it will work on RHEL5.3
too.
Than I think we should apply it to the BETA-5-6 branch. Any objections?

Bert
Arne
--
http://www.nedit.org/mailman/listinfo/discuss
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
TK Soh
2009-11-22 23:52:25 UTC
Permalink
Post by Bert Wesarg
Thank,
that solved the problem, at least on Ubuntu. Expect it will work on RHEL5.3
too.
Than I think we should apply it to the BETA-5-6 branch. Any objections?
No. As long as it doesn't break any other window manager. Especially
the older ones.
Post by Bert Wesarg
Bert
Arne
--
http://www.nedit.org/mailman/listinfo/discuss
--
http://www.nedit.org/mailman/listinfo/develop
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2009-11-30 20:23:46 UTC
Permalink
Post by TK Soh
Post by Bert Wesarg
Thank,
that solved the problem, at least on Ubuntu. Expect it will work on RHEL5.3
too.
Than I think we should apply it to the BETA-5-6 branch. Any objections?
No. As long as it doesn't break any other window manager. Especially
the older ones.
I can't think of that. It sends a event to root window with a special
message type "_NET_ACTIVE_WINDOW". Which should be ignored by window
managers which does not know about this message type.

I will wait a few more days to commit this patch.

Bert

Arne Førlie
2009-11-21 18:28:07 UTC
Permalink
Post by Bert Wesarg
Post by Arne Forlie
After updating from RHEL4 to RHEL5.3 NEdit has changed behaviour.
The NEdit window is no longer raised when nc is used to open a file in an
existing window.
[snip]
Any ideas on how to solve this annoyance?
Can you try patch #2337783 from the tracker.
http://sourceforge.net/tracker/?func=detail&aid=2337783&group_id=11005&atid=311005
I have it applied, but don't know if it solves this problem.
Bert
Thank,
that solved the problem, at least on Ubuntu. Expect it will work on
RHEL5.3 too.

Arne
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Loading...