- How to Open Multiple Windows / Views Viewing the Same File/ Project? Follow
- Visual Studio code opens two windows on launch #77302
- Comments
- stuartmuyambi commented Jul 12, 2019
- window.open() opens two windows
- FIX: Two Control Panel Windows Open in Windows 10
- Why does Windows open two Control Panel screens?
- Solution 1: Edit folder and search options
- Solution 2: Update your computer
How to Open Multiple Windows / Views Viewing the Same File/ Project? Follow
Dear gentle, kind, empathetic, generous, helpful reader,
I am trying to do something very basic and fundamental which is to open the same file in multiple windows or the same project (preferably in multiple windows).
I can’t believe there is no such option to do that in IntelliJIdea. It was easy to do in Eclipse (New Window option is right there in the menu and the entire project opens so).
I am frankly disappointed with my version of IntelliJIdea Ultimate. I downloaded it because I wanted software engineer metrics and code analysis and UML diagram representation . The UML diagram representation is not at all usable (there is no drilling down from packages to parent classes). I have not tried the software engineering metrics / analytics tool because I can barely import the code from Eclipse.
The most unbelievable thing is that now my copy of Eclipse 4.7 (and older version 4.4) will not start (I am trying to debug it in the eclipse forums). This has caused me hours of delay and lost productivity.
I was hoping to run both the editors and take advantage of the features in one which the other does not have . Netbeans and eclipse work so well together- what is up with intellij idea ? This is really disappointing.
Visual Studio code opens two windows on launch #77302
Comments
stuartmuyambi commented Jul 12, 2019
We have written the needed data into your clipboard because it was too
Issue Type: Bug
I just updated to the latest version but every time i open vs code. Two windows open up and i have to close one and use the other one. I dont know why am getting this error. Am getting this from my latest update.
VS Code version: Code 1.36.1 (2213894, 2019-07-08T22:59:35.033Z)
OS version: Windows_NT x64 10.0.16299
System Info
Item | Value |
---|---|
CPUs | Intel(R) Celeron(R) CPU N2840 @ 2.16GHz (2 x 2167) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: disabled_off native_gpu_memory_buffers: disabled_software oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_deferred_display_list: disabled_off skia_renderer: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 1.89GB (0.34GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Extensions (36)
Extension | Author (truncated) | Version |
---|---|---|
vscode-intelephense-client | bme | 1.1.4 |
simple-react-snippets | bur | 1.2.2 |
path-intellisense | chr | 1.4.2 |
bracket-pair-colorizer | Coe | 1.0.61 |
vscode-markdownlint | Dav | 0.28.0 |
vscode-eslint | dba | 1.9.0 |
vscode-faker | dee | 1.3.0 |
gitlens | eam | 9.8.5 |
react-native-react-redux | EQu | 2.0.3 |
carbon-now-sh | eri | 1.2.0 |
prettier-vscode | esb | 1.9.0 |
vscode-install-vsix | fab | 1.4.0 |
php-debug | fel | 1.13.0 |
php-intellisense | fel | 2.3.10 |
php-pack | fel | 1.0.2 |
auto-close-tag | for | 0.5.6 |
auto-rename-tag | for | 0.1.0 |
code-runner | for | 0.9.11 |
Python-autopep8 | him | 1.0.2 |
vscode-auto-open-markdown-preview | hnw | 0.0.4 |
beautify | Hoo | 1.5.0 |
phpcs | ika | 1.0.5 |
python | ms- | 2019.6.24221 |
vsliveshare | ms- | 1.0.509 |
heroku-command | pko | 0.0.8 |
vscode-css-peek | pra | 3.0.2 |
format-html-in-php | rif | 1.5.3 |
live-sass | rit | 3.0.0 |
LiveServer | rit | 5.6.1 |
code-settings-sync | Sha | 3.3.1 |
trailing-spaces | sha | 0.3.1 |
open-in-browser | tec | 2.0.0 |
vscodeintellicode | Vis | 1.1.7 |
vscode-icons | vsc | 8.8.0 |
JavaScriptSnippets | xab | 1.7.2 |
html-css-class-completion | Zig | 1.19.0 |
(2 theme extensions excluded)
large to send. Please paste.
The text was updated successfully, but these errors were encountered:
window.open() opens two windows
Problem:
using a named window as target, a new window is opened anyway. Also, both
windows have the same name. This happens on SOME machines only
env:
XP sp2
ie6.0.2900.2180
+ sp2
Replicate with these two files, «test1.html»
Click this is to see window name
if you use
var addlookup=open(‘test2.html’,’addlookup’);
then you can see the same name being used twice.
We’ve had this problem on a few machines here (about 3 out of 20), which all
appear to have identical explorer settings.
A few posts here seem to have the same problem but no follow ups have
helped.
Hope someone can help.
Mike
Problem:
using a named window as target, a new window is opened anyway. Also, both
windows have the same name. This happens on SOME machines only
The open() method returns immediately, without waiting for the
windowing system to actually create the window. If that happens
to take a little longer on some machines, the new window won’t
exist yet when you submit the form. Since no window exists by
the name «addlookup», a new one is created.
Problem:
using a named window as target, a new window is opened anyway. Also, both
windows have the same name. This happens on SOME machines only
The open() method returns immediately, without waiting for the
windowing system to actually create the window. If that happens
to take a little longer on some machines, the new window won’t
exist yet when you submit the form. Since no window exists by
the name «addlookup», a new one is created.
The same effect can be reached by just:
—
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
Thanks for your quick response, however on replacing
«document.f1.submit();»with «setTimeout(«document.f1.submit()»,1000);»,
two windows are still displayed. What happens now is that the specified
window appears straight away with no content and a full browser window
appears with the content after the time specified in the second
parameter of settimeout().
Thanks Evertjan, however the problem is still the same two pop-up
windows are still being created. This is strange as the code has worked
correctly for the last couple of years and I have not changed the code
at all, but since a couple of days ago I have had this problem.
Thanks Evertjan, however the problem is still the same two pop-up
windows are still being created. This is strange as the code has worked
correctly for the last couple of years and I have not changed the code
at all, but since a couple of days ago I have had this problem.
Please quote, this is usenet, mnot email.
the problem is still
impossible with my code, please try again.
—
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
mph wrote on 28 apr 2005 in comp.lang.javascript :
Thanks Evertjan, however the problem is still the same two pop-up
windows are still being created. This is strange as the code has worked correctly for the last couple of years and I have not changed the code at all, but since a couple of days ago I have had this problem.
Please quote, this is usenet, mnot email.
impossible with my code, please try again.
—
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
My apologies Evertjan, as you rightly point out the code suggested by
yourself does only create the one required window. However I need to
use window.open() as this will allow me to determine the attributes of
the new window, it will also give me a window handle which I can use to
close the window elsewhere in my code.
Are you aware of a way that I may be able to achieve this?
mph wrote on 28 apr 2005 in comp.lang.javascript :
> Thanks Evertjan, however the problem is still the same two pop-up
> windows are still being created. This is strange as the code has worked > correctly for the last couple of years and I have not changed the code > at all, but since a couple of days ago I have had this problem.
Please quote, this is usenet, mnot email.
impossible with my code, please try again.
—
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
My apologies Evertjan, as you rightly point out the code suggested by
yourself does only create the one required window. However I need to
use window.open() as this will allow me to determine the attributes of
the new window, it will also give me a window handle which I can use to
close the window elsewhere in my code.
Are you aware of a way that I may be able to achieve this?
I don’t think you can submit to ‘about :blank’
But try this, works fine here:
—
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
MPH wrote on 29 apr 2005 in comp.lang.javascript :
mph wrote on 28 apr 2005 in comp.lang.javascript :
> Thanks Evertjan, however the problem is still the same two pop-up
> windows are still being created. This is strange as the code has
> correctly for the last couple of years and I have not changed the
> at all, but since a couple of days ago I have had this problem.
Please quote, this is usenet, mnot email.
> the problem is still
impossible with my code, please try again.
—
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
My apologies Evertjan, as you rightly point out the code suggested by
yourself does only create the one required window. However I need to
use window.open() as this will allow me to determine the attributes of
the new window, it will also give me a window handle which I can use to
close the window elsewhere in my code.
Are you aware of a way that I may be able to achieve this?
I don’t think you can submit to ‘about :blank’
But try this, works fine here:
Thanks for the example, yes it does work for me, but it does not give
me any control over when the child window is created, this is a
problem because of the way child windows are used on my website.
As mentioned before myself and others have been using the current code
for the last couple of years without a problem, but I can no longer
get the current code to work, and I have not knowingly made any
changes.
Is the behaviour shown in the code symptomatic of any obvious settings
in windows or IE?
FIX: Two Control Panel Windows Open in Windows 10
Although Windows 10 is far more stable than it was when the Insider Program started, users are still facing some strange issues. This time, some users complained about how every time they open Control Panel, two windows show up. But this is a minor issue, and it can be resolved easily.
Why does Windows open two Control Panel screens?
Users report that when they try to open Control Panel, two windows of Explorer open instead of one, which is expected. This problem occurs when they try to open Control Panel with Cortana, but also when they access it from Win + X menu. Simply said, howsoever they open Control Panel, two windows show up, and it’s very annoying.
Solution 1: Edit folder and search options
But, there’s an explanation why this happens. Due some kind of bug in Windows 10, whenever you try to open Control Panel, it will open twice if the option “Lanuch folder windows in a separate process” in File Explorer is enabled. To fix this issue, just follow these steps:
- Open File Explorer
- Click the File button and choose Change folder and search options
- Go to the View tab and untick Launch folder windows in a separate process
That would be all, you can open Control Panel again and you’ll see that only one window will open. We’re sure that Microsoft will get rid of this and other small bugs of the kind by the time the next Windows 10 version comes out, or maybe even in some of the coming builds. But until then, small workarounds like this will get the job done.
Solution 2: Update your computer
Make sure that you’re running the latest OS updates on your machine. Microsoft regularly rolls out new system updates to make the OS more stable and add various bug fixes and improvements.
Go to Settings > Update & Security > Windows Update > Check for updates.
If you have any comments or suggestions, write them down in the comments section below, we’d certainly like to read your thoughts.
RELATED GUIDES TO CHECK OUT: