NSScrollView scrollbars always visible on macbook - macos

When for some reason I disconnect my mouse on my iMac I noticie that the scroll bars on all NSScrollView instances remain visible. Now that I'm looking at my app on a macbook with "El Capitan" I see that with only a trackpad the same this is happening. The scrollbars remain visible, but it is unnecessary.
What is the reason for this behavior ? Could this behavior be changed vía a property in NSScrollView ?

Related

Delays and laggy behaviour with Iphone X simulator

Im currently testing my Ionic app on the Xcode simulator. It works super fine on every ios device except for the Iphone X. When you slide on the ion-ranges, the animations are strongly delayed, the scrolling is laggy and not smooth. The transitions with click or swipe events are also very laggy and delayed. Have you also expererienced similar things with the IphoneX simulator or do you know how to solve this problem?
I noticed that if I click and try to scroll while holding down the mouse button on the iPhone X simulator, the scroll is very laggy and sometimes won't update until I release the mouse button. Yet on the other simulators, the scroll is smooth as butter, even if I hold down the mouse button (rather than click and flick).
If I change the iPhone X to 'physical size' using the simulator menu (window -> physical size), the scrolling is still laggy. But if I manually resize the window of the iPhone X to anything other than 'physical size', the scrolling becomes smooth like all the other device simulators.
I don't know why, and it's not always consistent, but it seems to work most of the time. Hopefully this helps someone with this annoying problem.

Mac OSX fullscreen on multiple displays swiping moves all screens

This worked up until yesterday.
Before and after updating to MacOS Sierra 10.12.5 did not solve problem.
Config / Specs:
Macbook pro OSX
Dell monitor
iPad using Duet app
Previous functionality
I could expand fullscreen any app/program in Mac (the green button top right) and use 3 fingers on the trackpad to toggle between 'screens' on that individual physical screen.
Current bug
When I fullscreen an app on one display and swipe with three fingers, swiping controls all 3 physical displays. The display in question swipes to the app, but the other two displays also swipe to the right showing blank black or white backgrounds and are mouseover-able.
Desired functionality -- the Previous Functionality
Swiping on a screen only controls that display.
Had the same issue, there is a setting in Mission Control -> Displays have separate Spaces, checking this solves the problem for me.

WKWebview flickering - but not when using WebView

OK, so here's the issue I'm facing.
I have a window with a WKWebView in it. When the window is resized, the webview is to be resized.
The thing is when I'm trying to increase the window's size (or - far more noticeable - when maximizing the window) there is a flicker, with a white background, until the webview redraws itself.
Now, the weird thing is: when I'm using a WebView (yes, the supposedly "legacy" one), this works flawlessly.
What's going on? Is there any way to work with a WKWebView on MacOS without this flicker?

NSButton disappearing from window in 2x mode

I'm currently developing an OS X app and I just stumbled across a pretty weird bug.
This is my app's UI on a 1x resolution:
and this is my app on a retina resolution:
Where did that location icon in the bottom right vanish to? The icon itself is an SVG file that's configured like this:
The NSButton element itself is held in place by Auto Layout constraints like it's supposed to.
Oh, also I don't have an actual device with a retina screen, I just moved the window to the second monitor that's configured to use a HiDPI resolution. This shouldn't be the source of the bug, but you never know.

Checkbox NSButton inside NSPopover changes colors when running

I'm getting a strange behavior of checkboxes inside NSPopover on OS X 10.10.3.
Colors of checkboxes are distorted but other elements like regular buttons or labels have correct colors.
Top image: how NSPopover renders in a running app (black background is from another app).
Bottom image: NSPopover view in Interface Builder.
Visual Effect Views (like used in NSPopover) are totally messed up in OS X Yosemite. Luckily they are working fine now in El Capitan.
A workaround on Yosemite should be to set the appearance property of each checkbox, label, scrollView etc. to NSAppearanceNameAqua

Resources