Giter Site home page Giter Site logo

Comments (5)

LGUG2Z avatar LGUG2Z commented on August 15, 2024

Ghost tiles at this point can be fully resolved by the end user: use the "visible-windows" command to isolate class/exe/title information for the application causing the ghost tile and add an appropriate float rule. Depending on the application a restart of komorebi may be required after adding the float rule to the JSON config.

If you think the rule should also be part of the application-specific-config repo you can also open a PR to add it there.

from komorebi.

Q0 avatar Q0 commented on August 15, 2024

I had 3 active windows: Edge, PHPStorm, Terminal. While working, PHPStorm suddenly closed and komorebi thinks the item is on the screen, but in state it points outside the screen boundaries.

Is it normal for an element to be outside the screen boundaries in the state?

{
                    "id": "aZnkXpI18kWnDL6zDmSuC",
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 332162,
                          "title": "*hide*",
                          "exe": "phpstorm64.exe",
                          "class": "SunAwtFrame",
                          "rect": {
+                          "left": -31993,
+                          "top": -32000,
                            "right": 146,
                            "bottom": 28
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },

Crashes happen at random times and not only with PHPStorm. This has already happened with Edge, Notepad++.... I don't want to make windows floating, because the main work happens in them. Is there any possibility to fix that empty blocks do not appear when programs crash?

from komorebi.

Q0 avatar Q0 commented on August 15, 2024

It happened again with phpstorm :(

image

C:\Users\mindsolo>komorebic visible-windows
{
  "SDC4197-5&ea69b16&0&UID256": [
    {
      "title": "...",
      "exe": "msedge.exe",
      "class": "Chrome_WidgetWin_1"
    },
    {
      "title": "...",
      "exe": "WindowsTerminal.exe",
      "class": "CASCADIA_HOSTING_WINDOW_CLASS"
    },
    {
      "title": "...",
      "exe": "phpstorm64.exe",
      "class": "SunAwtFrame"
    }
  ]
}

C:\Users\mindsolo>komorebic state
{
  "monitors": {
    "elements": [
      {
        "id": 65537,
        "name": "DISPLAY1",
        "device": "SDC4197",
        "device_id": "SDC4197-5&ea69b16&0&UID256",
        "size": {
          "left": 0,
          "top": 0,
          "right": 2880,
          "bottom": 1800
        },
        "work_area_size": {
          "left": 0,
          "top": 0,
          "right": 2880,
          "bottom": 1800
        },
        "work_area_offset": null,
        "window_based_work_area_offset": null,
        "window_based_work_area_offset_limit": 1,
        "workspaces": {
          "elements": [
            {
              "name": "I",
              "containers": {
                "elements": [
                  {
                    "id": "fvpS2x687iizF3-nC2_p7",
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 67606,
                          "title": "...",
                          "exe": "msedge.exe",
                          "class": "Chrome_WidgetWin_1",
                          "rect": {
                            "left": 17,
                            "top": 17,
                            "right": 1411,
                            "bottom": 1766
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "id": "ms2HxG_CVyj07vLgiuv_v",
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 1052096,
                          "title": "...",
                          "exe": "WindowsTerminal.exe",
                          "class": "CASCADIA_HOSTING_WINDOW_CLASS",
                          "rect": {
                            "left": 1452,
                            "top": 17,
                            "right": 1411,
                            "bottom": 871
                          }
                        }
                      ],
                      "focused": 0
                    }
                  },
                  {
                    "id": "M2FNgGbE2TUa40o6KqCF7",
                    "windows": {
                      "elements": [
                        {
                          "hwnd": 855006,
                          "title": "...",
                          "exe": "phpstorm64.exe",
                          "class": "SunAwtFrame",
                          "rect": {
                            "left": -31993,
                            "top": -32000,
                            "right": 146,
                            "bottom": 28
                          }
                        }
                      ],
                      "focused": 0
                    }
                  }
                ],
                "focused": 1
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Default": "BSP"
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 5,
              "container_padding": 10,
              "latest_layout": [
                {
                  "left": 17,
                  "top": 17,
                  "right": 1411,
                  "bottom": 1766
                },
                {
                  "left": 1452,
                  "top": 17,
                  "right": 1411,
                  "bottom": 871
                },
                {
                  "left": 1452,
                  "top": 912,
                  "right": 1411,
                  "bottom": 871
                }
              ],
              "resize_dimensions": [
                null,
                null,
                null
              ],
              "tile": true,
              "apply_window_based_work_area_offset": true
            },
            {
              "name": "II",
              "containers": {
                "elements": [],
                "focused": 0
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Default": "VerticalStack"
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 5,
              "container_padding": 10,
              "latest_layout": [],
              "resize_dimensions": [],
              "tile": true,
              "apply_window_based_work_area_offset": true
            },
            {
              "name": "III",
              "containers": {
                "elements": [],
                "focused": 0
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Default": "HorizontalStack"
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 5,
              "container_padding": 10,
              "latest_layout": [],
              "resize_dimensions": [],
              "tile": true,
              "apply_window_based_work_area_offset": true
            },
            {
              "name": "IV",
              "containers": {
                "elements": [],
                "focused": 0
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Default": "UltrawideVerticalStack"
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 5,
              "container_padding": 10,
              "latest_layout": [],
              "resize_dimensions": [],
              "tile": true,
              "apply_window_based_work_area_offset": true
            },
            {
              "name": "V",
              "containers": {
                "elements": [],
                "focused": 0
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Default": "Rows"
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 5,
              "container_padding": 10,
              "latest_layout": [],
              "resize_dimensions": [],
              "tile": true,
              "apply_window_based_work_area_offset": true
            },
            {
              "name": "VI",
              "containers": {
                "elements": [],
                "focused": 0
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Default": "Grid"
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 5,
              "container_padding": 10,
              "latest_layout": [],
              "resize_dimensions": [],
              "tile": true,
              "apply_window_based_work_area_offset": true
            },
            {
              "name": "VII",
              "containers": {
                "elements": [],
                "focused": 0
              },
              "monocle_container": null,
              "maximized_window": null,
              "floating_windows": [],
              "layout": {
                "Default": "RightMainVerticalStack"
              },
              "layout_rules": [],
              "layout_flip": null,
              "workspace_padding": 5,
              "container_padding": 10,
              "latest_layout": [],
              "resize_dimensions": [],
              "tile": true,
              "apply_window_based_work_area_offset": true
            }
          ],
          "focused": 0
        },
        "workspace_names": {}
      }
    ],
    "focused": 0
  },
  "is_paused": false,
  "resize_delta": 50,
  "new_window_behaviour": "Create",
  "cross_monitor_move_behaviour": "Insert",
  "unmanaged_window_operation_behaviour": "Op",
  "work_area_offset": null,
  "focus_follows_mouse": null,
  "mouse_follows_focus": true,
  "has_pending_raise_op": false
}

from komorebi.

Q0 avatar Q0 commented on August 15, 2024

When the phpstorm window is accidentally closed, it breaks in komorebi and stops functioning normally.
It automatically becomes floating, transparency is permanently applied and the mouse cursor is always centered.

explorer_2024-08-01_15-13-04.mp4

from komorebi.

Q0 avatar Q0 commented on August 15, 2024

I set "border": false and the problems stopped 🤔

from komorebi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.