Mac OS : code selection lag in editor (Godot 4.x)

It seems that it’s as if the window did not have the focus at the the first click and the time it takes it, the mouse has moved and it only takes part of the selection…

@Fantomac What sort of mouse and keyboard are you using? If an Apple Keyboard and mouse what is the firmware version?

I found the older version Magic Mouse doesn’t work well with the Apple Silicon machines. In fact the newer ones are listed as not compatible with non-Apple Silicon machines.

Mine are as follows:

Ryn

Magic Keyboard:
  Vendor ID:	0x004C
  Product ID:	0x029F
  Firmware Version:	2.0.6
  Minor Type:	Keyboard
  Services:	0x800020 < HID ACL >
  
Magic Mouse:
  Vendor ID:	0x004C
  Product ID:	0x0269
  Firmware Version:	3.1.1
  Minor Type:	Mouse
  Services:	0x800020 < HID ACL >

I’m using Logitech MX Master 3s with the mac’s built in bluetooth.

Okay, do you have an Apple mouse to test with. I’ve had problems with Logitech mice in the past, especially if you’ve installed the Logitech drivers.

Do you know what Bluetooth firmware version it is using? How old is it?

Ryn

No I don’t have any apple mouse available.
I’ve got Logitech Options+ installed and it’s version 22.1.6 for the mouse.

It seems weird that that should have anything to do with it as there’s no problems with other applications when selecting text or anything else.

Logitech MX Master 2s also with the mac’s built in bluetooth.

Okay now that is weird that you’re both using a Logitech MX master…

I’m not familiar with the latest Logitech software, but as Godot is actually written in itself so it’s running as a game essentially. Is there any config options in the Logitech software to change the mouse refresh rate.

Is there anyway to disable the Logitech software?

Also please try running Godot fullscreen so that MacOS optimises it’s graphics card performance.

I’m just chatting with some of my ex Apple Devs / Help team…

Kindly

Ryn

Apparently there is a known issue with the Logitech MX Master series of mice being laggy on Apple Silicon machines… I’ve confirmed this on other sites as well.

Suggestions are to uninstall the Logitech software which often doesn’t make any difference, or to replace with a newer model.

See the below thread:

https://www.reddit.com/r/logitech/comments/vi7hfb/mx_master_3_still_laggy_on_macos_with_m1_chip/?rdt=65204

Fullscreen running Godot did not help.
Tried uninstalling Logitech Options+ but no difference. Still only godot that’s affected.

And as i said above, even a wired mouse had the same issue.

My only other suggestion for the moment would be to do the 15.3.2 update and see if that helps if you’re able.

I’ve been running 15.3.2 without issue but I know the reluctance of some to do OS updates… There were a lot of mouse issue with Sequoia when it was first released.

Kindly

Ryn

Year I should have mentioned I updated earlier yesterday. It had no impact either. I think I will try older versions of Godot to see if there’s any difference.

1 Like

According to Logitech documentation this mouse comes with its own usb dongle… have you tried using this instead of the computer’s native Bluetooth?

Ryn

Thanks for investigating to find the source of the problem :pray:. It’s the same with the unifiying connector (for the 2s) or with a USB mouse.

I also did the update, but it doesn’t change anything to save time, try directly those versions :

  • 4.3-dev6 works fine.
  • 4.3-beta1 have the pb

Just tried these versions, and got the same results as you. Gets broken in 4.3-beta1

1 Like

Strange that it doesn’t happen to me… Below is my editor config for you to look at in case one of the changes I"ve made fixes the issue.

Ryn

[gd_resource type="EditorSettings" load_steps=2 format=3]

[sub_resource type="InputEventKey" id="InputEventKey_i2bu6"]
keycode = 4194326

[resource]
interface/editor/use_native_file_dialogs = true
interface/editor/main_font_size = 18
interface/editor/code_font_size = 20
interface/editor/single_window_mode = true
interface/theme/base_color = Color(0.21, 0.24, 0.29, 1)
interface/theme/accent_color = Color(0.44, 0.73, 0.98, 1)
interface/theme/contrast = 0.3
interface/multi_window/enable = false
docks/filesystem/textfile_extensions = "txt,md,cfg,ini,log,json,yml,yaml,toml,xml,asm,lib"
text_editor/appearance/guidelines/show_line_length_guidelines = false
text_editor/appearance/guidelines/line_length_guideline_soft_column = 160
text_editor/appearance/guidelines/line_length_guideline_hard_column = 160
text_editor/appearance/gutters/line_numbers_zero_padded = true
text_editor/appearance/minimap/show_minimap = false
text_editor/appearance/lines/word_wrap = 1
text_editor/behavior/navigation/move_caret_on_right_click = false
text_editor/behavior/navigation/drag_and_drop_selection = false
text_editor/behavior/documentation/enable_tooltips = false
text_editor/script_list/sort_members_outline_alphabetically = true
editors/3d_gizmos/gizmo_settings/bone_axis_length = 0.1
run/window_placement/game_embed_mode = -1
run/bottom_panel/action_on_stop = 1
run/output/font_size = 18
network/connection/network_mode = 1
debugger/auto_switch_to_remote_scene_tree = true
export/android/debug_keystore = "/Users/ryn/Library/Application Support/Godot/keystores/debug.keystore"
export/android/debug_keystore_pass = "android"
export/android/java_sdk_path = ""
export/android/android_sdk_path = "/Users/ryn/Library/Android/sdk"
export/ios/ios_deploy = ""
export/macos/rcodesign = ""
export/web/http_port = 8060
export/web/tls_key = ""
export/web/tls_certificate = ""
export/windows/rcedit = ""
export/windows/osslsigncode = ""
export/windows/wine = ""
_editor_settings_advanced_mode = true
_project_settings_advanced_mode = true
_export_template_download_directory = "/Users/ryn/Library/Caches/Godot"
_default_feature_profile = "Default"
_script_setup_templates_dictionary = {}
_use_favorites_root_selection = false
_script_setup_use_script_templates = false
shortcuts = [{
"name": "spatial_editor/viewport_zoom_modifier_1",
"shortcuts": [SubResource("InputEventKey_i2bu6")]
}, {
"name": "spatial_editor/viewport_zoom_modifier_2",
"shortcuts": []
}]

I replace my editor_settings-4.4.tres with yours and it’s the same pb :smiling_face_with_tear:.

Hopefully you updated the user home path :slight_smile:

What about editor features:

{
	"disabled_classes": [
		"Node3D"
	],
	"disabled_editors": [],
	"disabled_features": [
		"3d",
		"asset_lib",
		"history_dock",
		"game"
	],
	"disabled_properties": [],
	"type": "feature_profile"
}

Yes !
What to do with that :innocent:?

Use the menu option ‘Manage Editor Features’ create a profile and turn on or off the parts of the editor you don’t use.

If you name the profile ‘default’ it will become the default going forward.

As you can see I never use 3D or the Asset library…

Ryn