Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Revit and Rhino don't tile #726

Open
pjhfggij opened this issue Mar 29, 2024 · 5 comments
Open

[BUG]: Revit and Rhino don't tile #726

pjhfggij opened this issue Mar 29, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@pjhfggij
Copy link
Sponsor

pjhfggij commented Mar 29, 2024

Describe the bug
Neither Autodesk Revit nor McNeel Rhino get picked up by komorebi. They don't tile, clicking on their windows doesn't make komorebi's shortcuts to modify them (toggle tile command for example toggles the previously focused window) and they don't show up in the komorebic state output.

To Reproduce
Steps to reproduce the behavior:

  1. Start either Autodesk Revit or McNeel Rhino (both require a paid licence although Rhino has a free trial)
  2. See bug

Expected behavior
Both of them should tile like other programs (e.g. Autodesk AutoCAD and Trimble Sketchup both tile correctly).

Operating System

OS Name:                   Microsoft Windows 10
OS Version:                10.0.19045 Build 19045 

It's a virtual machine with GPU passthrough.

komorebic check Output

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\<USER>

Looking for configuration files in C:\Users\<USER>

Found komorebi.json; this file can be passed to the start command with the --config flag

Found C:\Users\<USER>\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
@pjhfggij pjhfggij added the bug Something isn't working label Mar 29, 2024
@moukle
Copy link

moukle commented May 14, 2024

I have the same bug with Godot :(

When focusing the app the cursor is completely broken: always returns to centre on click and very laggy.

manage_rules

I tried many different manage_rules but none helps:

   {
      "kind": "Title",
      "id": "Godot Engine",
      "matching_strategy": "Equals"
    },
    { 
      "kind": "Title",
      "id": "Godot Engine",
      "matching_strategy": "StartsWith"
    },
    { 
      "kind": "Path",
      "id": "C:\\Godot\\",
      "matching_strategy": "StartsWith"
    },
    { 
      "kind": "Exe",
      "id": "Godot_v4.2.2-stable_win64.exe",
      "matching_strategy": "Equals"
    },
    { 
      "kind": "Exe",
      "id": "Godot_*.exe",
      "matching_strategy": "StartsWith"
    }

Versions

Edition       Windows 11 Education
Version       23H2
OS build      22631.3447
$ komorebi.exe --version
komorebi 0.1.25

Switching to pwsh also didn't help.

@LGUG2Z
Copy link
Owner

LGUG2Z commented May 14, 2024

Godot I was able to try out myself; I noticed that it tiles correctly without any additional rules if you minimize it and then restore it, which suggests that it probably isn't sending the signals to the OS that a Windows app is supposed to when it starts up. Thankfully most apps like this send ObjectNameChange when they launch, so adding this makes it tile on first launch:

  "object_name_change_applications": [
    {
      "kind": "Class",
      "id": "Engine",
      "matching_strategy": "Equals"
    }
  ],

You can also match by the Exe if you want to

@moukle
Copy link

moukle commented May 15, 2024

It works! Thank you for your fast investigations! 😄🙏

Small issue: Godot flickers on refocus

@LGUG2Z
Copy link
Owner

LGUG2Z commented May 15, 2024

Flickering for a number of apps has been fixed on the master branch for a little bit now

@LGUG2Z
Copy link
Owner

LGUG2Z commented May 19, 2024

@pjhfggij are you able to try the same sort of fix for Revit and Rhino? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants