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

Min doesn't set app_id on Wayland #2042

Closed
loserMcloser opened this issue Jul 13, 2022 · 2 comments
Closed

Min doesn't set app_id on Wayland #2042

loserMcloser opened this issue Jul 13, 2022 · 2 comments

Comments

@loserMcloser
Copy link

  • Min Version: 1.25.1
  • Operating system: Archlinux

Expected Behavior

Should set a value for app_id, probably Min

Actual Behavior

Here is partial output of swaymsg -t get_tree while Min is running. You can see "name": "Min" is set, but "app_id": "" is unset. Sway can't match on name when setting workspace rules in its config.

            {
              "id": 12,
              "type": "con",
              "orientation": "none",
              "percent": 0.49852941176470589,
              "urgent": false,
              "marks": [
              ],
              "focused": false,
              "layout": "none",
              "border": "pixel",
              "current_border_width": 2,
              "rect": {
                "x": 685,
                "y": 27,
                "width": 678,
                "height": 738
              },
              "deco_rect": {
                "x": 0,
                "y": 0,
                "width": 0,
                "height": 0
              },
              "window_rect": {
                "x": 2,
                "y": 2,
                "width": 674,
                "height": 734
              },
              "geometry": {
                "x": 0,
                "y": 0,
                "width": 674,
                "height": 735
              },
              "name": "Min",
              "window": null,
              "nodes": [
              ],
              "floating_nodes": [
              ],
              "focus": [
              ],
              "fullscreen_mode": 0,
              "sticky": false,
              "pid": 9818,
              "app_id": "",
              "visible": true,
              "max_render_time": 0,
              "shell": "xdg_shell",
              "inhibit_idle": false,
              "idle_inhibitors": {
                "user": "none",
                "application": "none"
              }
            }

To Reproduce

Run Min on Wayland, query compositor for Min's app_id.

@PalmerAL
Copy link
Collaborator

It looks like this should be fixed the next time we upgrade Electron: electron/electron#34855

@loserMcloser
Copy link
Author

Works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants