Netlogo on Windows - pop-ups in GUI open beyond screen and can't be closed - popup

I was curious if anybody had experienced the same issue: when opening a pop-up in the GUI (e.g., inspect patch, inspect turtle), that pop-up open on the top of the screen in a way that I can't grab the menu bar, this can't close or move it which can be really frustrating at times - see screenshot. The small grey bar on the top-left is an old pop-up that I resized to get it out of the way.
Anyone got an idea how that could be fixed?
I use NetLogo 6.1.1 on an Asus laptop running Windows 10. I tried right-clicking, resizing, etc. but to no avail.

Related

Close Vscode Panel on killing the last Terminal

Earlier The Panel of vscode used to close when I killed the terminal. But after I reset my pc and reinstall vscode, this is not happening. I after killing all the terminals I have to click on the "Close Panel" Button to close it.
How can I close the panel automatically on killing the last terminal?
Thanks for help in advance.
So the lower panel (or right/left panel if you moved it) should always automatically close if the terminal-view has had all of its terminals closed.
Now, with the above said, their is one exception, which is a common exception: When you show there panel with a view — i.e. the problems view, output-logger, etc... — with the terminal-view, the behavior of the panel changes. In the context I just described, the panel will not automatically close.
To solve the issue, remove all other views that share the panel with the terminal view. Then you should find that you get the expected behavior.
FYI, this has worked this way for a long time, and a while back (2+ years ago) there was a somewhat supported feature request to make the closing behavior of the panel more configurable — e.g. like adding settings that close the panel when the terminal-view has no terminals open, even if it is in a shared panel — however, I checked all settings & release notes and GitHub before answering this, and it appears that the panel & terminal view, in the context of this question, still behave the way that they always have since the first newer release of the non-beta VS Code.

Editor tab disappeared in GUI

The MATLAB GUI normally (for me) has 4 tabs in the upper left - Home, Plots, Apps and (I think) Editor. However the editor tab has disappeared and I cannot find documentation how to turn it back on. I tried the Layout->Default but that just arranges all the visible windows and doesn't re-enable to missing editor.
Does anyone know how to turn this back on?
Type edit in the command window.
Unfortunately you are right, there is no 'Editor' option in the Layout panel of Matlab's interface, and for obscure reasons it's not present in the default layout.
OK, I've checked Ratbert's answer as he got here before me but Mathworks tells me it disappears any time you're not actually editing any code. If that happens their answer was to just click on the New Script button. Doing that worked for me. Typing edit in the command window is (I think) doing the same thing.
Thanks!
For anyone that finds this thread at a later date I eventually debugged the root cause of this problem as a mouse that was failing. When attempting to close the open variables part of the GUI, when clicking the X in the upper left, the mouse was generating two clicks instead of one. The first closed the variables GUI, the second closed the editing GUI. Purchasing a new mouse resulted in no longer seeing the problem at all.
in matlab command window, go on top right triagle and click, a drop down list will appear, select undock editor

chrome developer tools restore window position

I undocked the dev-Tools of chrome so that when pressing F12, another window opens, showing the DEV-Tools.
Problem: For I-don't-know-what-reason the window moves to a random position whenever it's opened. currently it moved so far, that its coordinates are fully outside of my desktop. It always moves at least somewhere nearly outside my desktop.
Question: How to restore the window positioni if it's not reachable for grabbing?
How to avoid this happening again?
I had the same problem, turns out it was because I had multiple monitors and one of them had display scaling set to 125%, when I set it back to 100% the developer tools windows always appeared where I could see it entirely.
You can change the display scaling by right clicking the desktop and then clicking Display settings, look for the setting Change the size of text, apps, and other items, if it's already at 100%, click on another monitor at the top and check again.
Of course you might not like having the monitor at 100% scaling (everything will be smaller), but at least it works!

Fix pgadmin SQL editor screen after resizing

This has happened to me a few times and it's annoying, whenever I take my laptop home my pgadmin editor stops working after resizing (I have more screens at work):
I have tried everything possible and the editor does not regain its correct shape and the "edit" area is impossible to get.
If you don't know the answer, do you have any suggestions for a good free SQL editor, now that we all know pgadmin is horrible...
Yes, it does get frustrating at times, especially when the monitor configurations are different at different places (say office vs home). So although one configuration works in office, when you take the laptop home, the Edit area is effectively missing, and the output window is at 100%.
You didn't mention the OS, but on windows I used to first Un-maximize the window, and then use to Right-Click on the Window (blue?) bar, that gave me the default MS Windows options (Move, Minimize, Maximize, Restore etc.). (These have been life-savers also when a window is completely out of the visible scope).
Once the menu is selected (nowadays using special keyboard combinations, i.e. a mouse isn't required), you could take the window further up and start to see a very small Query box open up. That way, you can now select the section divider and slide it down to reduce the Output Window size.
Painful, but worked most of the times.

Eclipse/Win7 - Scrolling in Content Assist with mouse without focus

Recently switched from Linux to Windows for development in Eclipse Indigo SR1. In Linux, if I Ctrl-Space'd to open a Content Assist window, I could immediately start scrolling with the mouse wheel (with the cursor over the Content Assist window of course).
Now, in Windows 7, if I try to scroll in the same way the Content Assist window goes away, and whatever editor I have open is scrolled instead.
If I first press Tab to give focus to the Content Assist window, the mouse wheel scrolling works as expected, but I'd much rather it behaved as it did for me on Linux, rather than retrain myself to press Tab every time.
Is there a way to make the mouse work this way with Eclipse?
Found an answer that appears to work. It's a little dated but seems to still do the trick.
http://divby0.blogspot.com/2007/04/focus-follows-mouse.html
Dropped this jar in the eclipse plugins folder and restarted. At first I thought it didn't work, but later I noticed there is a little X button added to your toolbar that you need to toggle. Scrolling seems to work properly now.