I keep accidentally hitting some key combination that zooms out in the editor of the new Bigquery UI and cannot figure out how to reset it to the actual zoom level without refreshing the entire page. The shell of the editor does not zoom and is the only part of the UI that responds to the normal Chrome zoom shortcuts, however the editor window remains zoomed at the altered level and does not change, screenshot
On my Macbook, the zoom-in/out could be triggered with Command + 2 finger touchpad up/down.
I don't have a Windows to try, but if you need Windows key, I guess the counterpart is Ctrl + Mouse scroll up/down.
Related
I'm trying to create a window that is on the same level as the accessibility keyboard and notifications on High Sierra. My desired result is to get a window that will appear above all other windows, including the screensaver and lock screen.
In el cap/sierra I was able to use window.level = NSWindow.Level(Int(CGWindowLevelForKey(.maximumWindow))) but now in High Sierra my code does not work and I cannot see my window over the screensaver or lock screen.
After some experimenting I noticed that notifications and the accessibility keyboard DO show up over the lock screen/screensaver and was wondering if it is possible to create a window on the same level.
I've included two pictures, one of the lock screen showing both the keyboard/notification. The second image shows what happens when I transition from one window to another - my demo window stays on the desktop but the keyboard/notification is shown above the desktops and transitions over the dividing bar from one to another.
Anyone know of a way I can create this type of behavior in my window?
Probably not the right place to ask this question, but I couldn't find the answer anywhere. As the title says, is there a way to enable mouse wheel scrolling in the nano editor? (specifically ubuntu 14.04)
Nano doesn't support using the mouse wheel to scroll. You can enable nano's (limited) mouse support with alt-M or with --mouse when starting nano (another invocation returns to whatever mouse support your terminal has), but that's it:
−m, −−mouse
Enable mouse support, if available for your system. When enabled, mouse clicks can be used to place the cursor, set the mark (with a double click), and execute shortcuts. The mouse will work in the X Window System, and on the console when gpm is running. Text can still be selected through dragging by holding down the Shift key.
(https://www.nano-editor.org/dist/v2.6/nano.1.html)
By default, mouse services are provided by the terminal window. The mouse works almost the same as in a GUI editor. You can highlight text, right-click to copy and paste, and use the middle mouse button for pasting text from the buffer. However, when you use the middle mouse button to paste text, the text is pasted at the current cursor location, not at the mouse pointer location. Other limitations exist. For example, you cannot use the mouse to cut or delete text, nor can you use the mouse to scroll through the file.
Nano has its own built-in mouse services, but they are limited. They provide only the ability to move the cursor to the point where you click, and to mark the beginning and end of a section of text. Use the Alt-M key combination to toggle between using the terminal's mouse services and nano's built-in mouse services.
(https://help.ubuntu.com/community/Nano)
To scroll by mouse: toggle mouse support OFF: Alt + m, or Esc m. The caveat is, it will also reposition the cursor.
Of course once mouse support is disabled, using the mouse to position the cursor will no longer be possible. The simple workaround is to toggle mouse on/off as needed.
The reason this works is because, with mouse support disabled in nano, it falls back on the terminal to handle the mouse. It does this by printing to the screen whatever input it receives from the mouse as a stream of escape sequences. Since these escape sequences are standard, nano knows exactly what to do with them and positions the cursor accordingly.
I have a borderless window with a webview in it, which is always on top.
I want to create a NSWindow which is:
Always on top
Does not take the focus from the current foreground app
Does enable user mouse interaction (without forcing the user to switch focus to it - aka "click on it twice")
The problem I have atm is that to interact with the window (e.g. see hover effect, or click a link in the webview), the user has to click the window (which gives it focus) and only then the hover effect shows.
How can I make a window like iTunes mini player which doesn't take the focus from the current app - but also interacts with mouse? (see screenshots below)
Thanks!!
To receive mouseEntered:, mouseMoved: and mouseExited: events even when your app is not active, you must add a tracking area to some view in your window and set the tracking area's properties accordingly.
Take a look at NSTrackingArea.
You'll probably want to add a tracking area with the options NSTrackingActiveAlways and NSTrackingMouseEnteredAndExited.
Is there a way to stop Internet Explorer changing zoom when switching between monitors?
I have a laptop and a secondary monitor. Both have screen resolutions of 1920x1080 although they are not physically the same size. When I drag an Internet Explorer window from one to the other it always "corrects" the zoom for me. I don't want it to this. Is there a way to make it stay at 100% regardless of the window in which it is displayed?
You can disable it by changing DPI settings.
Control Panel
Display
Select "Let me choose one scaling level for all my displays"
Apply
IE should stop zooming when changing monitors.
I am using QTP 11.0 and a java button in my application is highlighted in big monitor screen(19 or 20 inch) but not in Laptop screen(14 or 15 inch).
I have to click the button and a pop up will be seen,this works fine in big screen but in laptop screen the pop up does not appear.Is there any workaround?
In small screen the scroll bar appears and the java button is below the screen, but in big screen its appeared without scrolling so its working fine with the big screen.
Also i have tried if scroll down is possible through scripting in small screen ,but scroll down does not work NOR does pgDown pgUP works in the application.
Addins selected are ActiveX,Java,Web
Advanced thanks...
As per the given information I assume that the problem is with the object properties of the java button. Could you try adding only htmlid/name property & try highlighting the object in both the screens? Please disable object identification, location & indexing if applicable. If possible share the properties of the object for further analysis.
Does QTP fail to recognise the button during play back? QTP may not highlight the button because it is not visible; but in most cases it will be able to perform actions (such as click event) on the button. Make the button visible in web page / application and try clicking on Highlight button in QTP.