Closed Bug 159092 Opened 22 years ago Closed 10 years ago

-remote doesn't raise the window

Categories

(Core Graveyard :: X-remote, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: colin, Assigned: blizzard)

Details

Attachments

(1 file)

When I use the -remote option, the Mozilla window is not raised. Using the -raise option makes no difference. Looking at the code http://lxr.mozilla.org/seamonkey/source/xpfe/components/xremote/src/XRemoteService.cpp it looks like "raise" should be the default, unless "noraise" is specified, but this isn't the way its working. Seen on both OpenVMS and Linux 1.1 Alpha.
.... and 1.1 beta too.
the raiseWindow flag is set but never used.
That flag is there to remind me to implement it. :)
Then consider yourself reminded :-)
Attached patch patchSplinter Review
new-tab seems raise by itself, but I added code there too in case it ceases to do that at some point.
Keywords: patch
This "Raise" feature would be useful in the case of an application which works always in fullscreen mode. One button of this application starts mozilla. If mozilla is hidden by the fullscreen application, my "start mozilla" button must not start a new instance mozilla, but raise the open window. So in that case, I would like to call something like : mozilla -remote 'http:' or mozilla -remote 'xfeDoCommand(raise)' The first one actually works with NS4, but the second one would be better for mozilla. Is there an other way to do that, while "-raise" is not implemented ?
I have found a way to be able to raise the window : mozilla -remote 'openURL(javascript:window.focus())' This seems to work good, at least for me with Solaris8/OpenWindows/moz1.1, Redhat7.2/mwm/moz0.9.2.1, and Redhat6.2/windowmaker/moz1.0.1.
glandium removed -remote in bug 1080319.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: