ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
469 stars 38 forks source link

[macOS] Minimizing game with Cmd+H stops current action #1326

Open RankoR opened 6 years ago

RankoR commented 6 years ago

As the only way to play on 4K+ displays is using "Exclusive Fullscreen" (see #1197), I can minimize the game only using Cmd+H, Cmd+Tab does not work.

Scenario: make hero to do some action (move to point or farm creeps) and hide game with Cmd+H. At this moment hero cancels current action and stays AFK, like if I press "S" shortcut.

Is it a correct behaviour?

gdrewb-valve commented 6 years ago

Assigning to SDL dev.

RankoR commented 6 years ago

@gdrewb-valve I've find out that it happens because of "H" key binding, so the window gets both "Cmd + H" and just "H" key press events ("Hold position"; this should not interrupt farming if auto attack is on, but in my case it's off).

Hope this helps :)

imp1sh commented 6 years ago

You can also switch to Desktop Friendly mode in video settings. Then you're able to get to the Desktop by pressing CMD + Tab. Don't how if it's actually a workaround but might be if what RankoR writes is true.

RankoR commented 6 years ago

@imp1sh there is no 4K resolution in Desktop friendly mode.

RankoR commented 6 years ago

BTW, reassigning hold position from H to another key does not help.