godot icon indicating copy to clipboard operation
godot copied to clipboard

[TRACKER] Better integration into OSX

Open CoalaJoe opened this issue 9 years ago • 12 comments

Operating system or device - Godot version: OSX - 2.1.2

Issue description:

  • [x] Smooth or normal scrolling (currently scrolls too fast in script-editor)
  • [x] Pinch to zoom in 2D and 3D.
  • [x] Hi-DPI Logo of Godot. (Very visible when switching between applications. cmd+tab)
  • [ ] Basic keyboard-shortcut.

CoalaJoe avatar Feb 24 '17 09:02 CoalaJoe

see: implemented scrolling factor for precision trackpads #7864

I'm currently also thinking about the Input handling in Godot in general and have a couple of ideas to make a clean implementation for touch screens and trackpads. I will do a mockup this weekend and will propose it to the devs. maybe I will implement it than.

toger5 avatar Feb 24 '17 13:02 toger5

here is the mockup

GoogeDocs

toger5 avatar Feb 25 '17 17:02 toger5

:+1:

CoalaJoe avatar Feb 25 '17 18:02 CoalaJoe

May I also propose:

  • Support trackpad 3 finger click as middle mouse button (i.e for panning in 2D)

I like the pinch to zoom as well, assuming scroll would then be used for scrolling the view (panning). Maybe both should be supported with an option

  • Send scroll events to appropriate panel without focus

On native OSX applications, scrolling events propagate regardless of window focus, rather based on mouse location. For example, if I want to scroll the Inspector panel when focused on another app, I have to focus Godot, then click that panel to focus within Godot, then I can scroll. I would like to be able to hover the mouse over a panel regardless of window focus and be able to scroll that respective panel (and also not have to click between panels first to scroll just within Godot)

  • Open settings using native (or assignable) shortcut (⌘,)

I realize the inactive scrolling is a bigger task, but I feel it is something that should be supported at some point :)

FuzzyRhombus avatar Mar 02 '17 18:03 FuzzyRhombus

Can confirm latest 2.1.4 beta fixes "Smooth or normal scrolling (currently scrolls too fast in script-editor)"

perroboc avatar Aug 18 '17 02:08 perroboc

Also the logo is fixed in 3.0

toger5 avatar Aug 18 '17 15:08 toger5

Could I suggest one thing for this list:

  • [ ] On OS X, scrolling using touch pad while holding CMD key is zooming the editor font and it is too sensitive

Now, that wouldn't be bad in itself if implemented properly. However I find myself triggering it by mistake so many times, like so:

  1. I scroll using touch pad. I release the touch pad, but the window is still scrolling (because of inertia)
  2. I press CMD (because I want to press CMD+Tab) while the window is still scrolling from the inertia, and the font gets huge.

godot3_mac_scrolling_font_zooming_bug

I am using Godot 3 built from master.

Edit: I wrote "touch bar" but I meant "touch pad"

zinkkrysty avatar Aug 31 '17 19:08 zinkkrysty

Since there's already a topic on OS X improvements, could there be a way to a way to flip the x and y scrolling in 3D when using the trackpad? I noticed this option in Blender today, called "Natural Trackpad Scrolling" if you want to see what I mean.

latenitecali avatar Feb 24 '18 01:02 latenitecali

Just tested the following item and it is working as expected:

  • [x] Pinch to zoom in 2D and 3D.

Tested on mac OS 10.15.4

eduardonunesp avatar May 04 '20 10:05 eduardonunesp

This one will be nice to have:

  • [ ] Open settings using native (or assignable) shortcut (⌘,) (Suggested initially by @FuzzyRhombus)

eduardonunesp avatar May 04 '20 10:05 eduardonunesp

Open settings using native (or assignable) shortcut (⌘,) (Suggested initially by @FuzzyRhombus)

It's already include into global menu PR - https://github.com/godotengine/godot/pull/38044

bruvzg avatar May 04 '20 10:05 bruvzg

I think this can now be closed as most of the points have been implemented.

For the remaining ones, I would suggest to open a feature proposal for each point on godot-proposals.

akien-mga avatar May 26 '20 13:05 akien-mga