When I'm opening any type of file in Netbeans and I'm trying to horizontally scroll with two fingers from the touchpad, it is not working.
I am using a MacBook (13 inch, Mid 2010) with Debian 10 ("Buster"), GNOME 3.30.2 as desktop and Apache Netbeans 12.2.
Maybe you know a solution? Thank you.
Many macOS users often don't restart their IDE for days. Try quitting NetBeans (make sure it doesn't show up on the force quit menu as well; if it does, then just force quit it from there as well). After this, restart your computer and make sure to uncheck the box that asks whether you'd like the OS to re-open your open windows. This should fix the horizontal scrolling issue.
Alternatively, try holding shift and scrolling vertically. This would work best with a mouse with a scroll wheel.
When a user enlarges a window hosting a xamarin.forms UWP app the layout/page does not resize, and the window controls disappear. If you make the window smaller everything reposition as expected. How do you get this to behave properly? I thought it was supposed to scale automatically.
I have downloaded and tested the project you provided on GitHub and it works normally and resizes as expected. I suspect the problem in your case may be that the UI thread was frozen or you Visual Studio Debugger froze the app. I would suggest restarting your PC and then doing Clean solution from Visual Studio and rebuild again. After these steps it should work normally. If not, perform repair of Visual Studio.
This question already has answers here:
Android emulator doesn't take keyboard input - SDK tools rev 20
(13 answers)
Closed 5 years ago.
I'm unable to use my PC keyboard to input characters into the app running on AVD emulator even though I had chosen 'Enable keyboard input' when creating the AVD. Can anyone help?
Below is my config.ini.
Note
File directory can be accessed from AVD Manager:
-> click the down arrow on the Actions column
-> Show on Disk.
For GNU/Linux users, with default Android Studio configuration, the
file is found under directory
/home/<<user>>/.android/avd/<<device>>.avd
config.ini
avd.ini.encoding=UTF-8
AvdId=Nexus_5_API_21
abi.type=x86_64
avd.ini.displayname=Nexus 5 API 21
disk.dataPartition.size=200M
hw.accelerometer=yes
hw.audioInput=yes
hw.battery=yes
hw.camera.back=none
hw.camera.front=none
hw.cpu.arch=x86_64
hw.dPad=no
hw.device.hash2=MD5:2fa0e16c8cceb7d385183284107c0c88
hw.device.manufacturer=Google
hw.device.name=Nexus 5
hw.gps=yes
hw.gpu.enabled=yes
hw.keyboard=yes
hw.lcd.density=480
hw.mainKeys=no
hw.ramSize=1536
hw.sdCard=yes
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.trackBall=no
image.sysdir.1=system-images/android-21/default/x86_64/
runtime.network.latency=none
runtime.network.speed=full
runtime.scalefactor=0.25
sdcard.path=/Users/xxxxxx/.android/avd/Nexus_5_API_21.avd/sdcard.img
skin.dynamic=yes
skin.name=nexus_5
skin.path=/Applications/Android Studio.app/Contents/plugins/android/lib/device-art-resources/nexus_5
snapshot.present=no
tag.display=Default
tag.id=default
vm.heapSize=64
More info:
I'm using Mac OS X 10.10.4 (Yosemite).
Android Studio 1.3
I had this issue despite having the correct configuration, and realized that the actual problem was that the focus was on the emulator control buttons windows, as reported in this issue.
To check if this is your problem, see if pressing space actually presses one of those buttons, and if pressing tab moves the highlight focus square between elements in the emulator controls. If that is the problem, then you should be able to work around it as follows:
Select the extended controls (The "..." button in the emulator controls)
Change to any item in the extended controls window by clicking
Close the extended controls window
The focus should now return to the main Android emulator window, not the emulator controls, and key presses should go to Android apps.
try to change following.
hw.keyboard = yes
hw.keyboard.lid = no
hw.keyboard.charmap = qwerty2
Because programmers SE says:
coding tools, such as compilers, debuggers, and IDEs (ask on Stack Overflow instead)
So this may be a bit mundane, but this is part of my work flow. I like to keep Eclipse in full screen, so I can switch back and forth to browser / remote desktop with ctrl+arrow. The problem is Eclipse (this is ADT, but I don't think it matters?) always starts in non-full screen mode, even if I left it on full screen before I close it
Is there a way to get Eclipse to always start in full screen mode? Or at least remember what state it was in before whenever it starts?
Google search keywords I've tried:
"Eclipse for Mac fullscreen mode" only yields articles about full screen support on Mac OS X Lion (and not about starting it in full screen)
"ADT Mac full screen mode" yields articles about switching Android Emulator to landscape
Additionally I tried to look for "eclipse mac full screen" here on SO and I don't find anything relevant
I'm using ADT 22.6 on Mac OS X Mavericks
Looking through the Eclipse source there does not seem to be any support for this currently.
The SWT Shell.setFullScreen(true) call does switch the app in to Mac full screen mode but Eclipse only uses it when the full screen menu item is used.
I used to be able to type with my real mac keyboard after launching the iPhone Simulator. Typing with the on-screen simulator keyboard is just horrible when testing with large amounts of text.
No matter what I do, I can't get my keyboard to type anymore inside the simulator. Even if I have "Simulate Hardware Keyboard" switched ON, it just won't type anything. Can someone please tell me what I'm doing wrong? Is there no way to type using the real keyboard anymore?
Try trashing the iPhone Simulator preferences file. When my iPhone Simulator stopped responding to keystrokes, this fixed it.
Quit the simulator.
Go to finder and press (command+shift+G) then navigate ~/Library/Preferences.
Move com.apple.iphonesimulator.plist to the trash.
Try launching your iPhone app in the simulator again.
Deleting com.apple.iphonesimulator.plist did not help me under Xcode 6.0.1.
Probably, it worked in old Xcode.
But, what works perfectly for me under Xcode 6.0.1, it is new hot Keys in iOS Simulator:
Shift-Command-K Connect/Disconnect Hardware Keyboard
Command-K Toggle (Show/Hide) Software Keyboard
And, you know, I really suffered for last 2 months, until found it, and it is very convenient now))
Don't trash the iPhone simulator preference files. There's no need to do this.
Look in the simulator's menu Hardware ➔ Keyboard. The menu options are:
iOS Uses Same Layout as OS X
Connect Hardware Keyboard ⇧⌘K
Toggle Software Keyboard ⌘K
Ensure option 2 is checked.
If it's already checked, uncheck it then check it again (you'll probably want to learn the keyboard shortcuts).
If you find that this hides the on screen keyboard, but you also want this to show, use option 3 to toggle it back on.
If rotating the simulator seems to stop the keyboard working, toggle option two off then back on – this seems to resolve it.
I am using iOS Simulator Version 7.0. While the simulator was running I went to iOS Simulator->Reset Contents and Settings... and reset the simulator from there. That seemed to have done the trick for me. Hope that helps.
This is because you have used changing the orientation of simulator using keyboard shortcuts. Just press cmd on the mac keyboard then start typing.
All I needed to do was quit the simulator and launch it again
MY PROBLEM WAS KEYBOARD IS SHOWING AND KEYSTROKES NOT DETECTING. AND I FOUND THE SOLUTION:
You don't need to quit the keyboard.
Try Hardware->Keyboard->Connect Hardware Keyboard directly
Removing com.apple.iphonesimulator.plist worked for me too, but I had to locate it inside the hidden folder /Users/[yourusername]/Library/Preferences/
Shell / Command-Line / Jenkins / CI:
sh "plutil -replace DevicePreferences.${deviceID}.ConnectHardwareKeyboard -bool NO $HOME/Library/Preferences/com.apple.iphonesimulator.plist"
sh "plutil -extract DevicePreferences.${deviceID} xml1 -o - $HOME/Library/Preferences/com.apple.iphonesimulator.plist"
The Device ID can be found via xcrun / simctl, based on the devoce name:
xcrun simctl list | grep ${simulatorDeviceName} | sed 's/).*(.*//;s/.*(//'
I encountered the same problem and tried a lot of different ways which worked mostly but never for sure. Ultimately, I found this. https://stackoverflow.com/a/26057011/1463604
If you are developing a React Native app and you cannot refresh (⌘R) or enable remote debugging (⌘D) from the iOS simulator, while other keyboard inputs work, make sure you are running a debug build configuration. You can check this with:
Product -> Scheme -> Edit Scheme -> Run -> Info -> Build Configuration -> Debug"
I got this tip from here.
Just restart Simulator (close and open the app).