I've got a layout file that cause i3 (version 4.8) to hang 100% consistently.

I use the i3-msg append_layout command to cause this. I've used it with other 
layout files just fine.

What is it about this file that causes i3 to hang?

I've included the layout file below:

{
    "border": "normal", 
    "floating": "auto_off", 
    "floating_nodes": [
        {
            "border": "normal", 
            "current_border_width": -1, 
            "floating": "auto_off", 
            "floating_nodes": [], 
            "focus": [
                29940496
            ], 
            "focused": false, 
            "fullscreen_mode": 0, 
            "geometry": {
                "height": 0, 
                "width": 0, 
                "x": 0, 
                "y": 0
            }, 
            "id": 29940864, 
            "last_split_layout": "splith", 
            "layout": "splith", 
            "name": "#0000aa", 
            "nodes": [
                {
                    "border": "normal", 
                    "current_border_width": -1, 
                    "floating": "user_on", 
                    "floating_nodes": [], 
                    "focus": [], 
                    "focused": false, 
                    "fullscreen_mode": 0, 
                    "geometry": {
                        "height": 820, 
                        "width": 170, 
                        "x": 0, 
                        "y": 0
                    }, 
                    "id": 29940496, 
                    "last_split_layout": "splith", 
                    "layout": "splith", 
                    "name": "Toolbox - Tool Options", 
                    "nodes": [], 
                    "orientation": "none", 
                    "percent": 1.0, 
                    "rect": {
                        "height": 822, 
                        "width": 164, 
                        "x": 753, 
                        "y": 95
                    }, 
                    "scratchpad_state": "none", 
                    "swallows": [], 
                    "type": "con", 
                    "urgent": false, 
                    "window": 37748871, 
                    "window_properties": {
                        "class": "Gimp", 
                        "instance": "gimp", 
                        "title": "Toolbox - Tool Options", 
                        "window_role": "gimp-toolbox"
                    }, 
                    "window_rect": {
                        "height": 820, 
                        "width": 160, 
                        "x": 2, 
                        "y": 0
                    }, 
                    "workspace_layout": "default"
                }
            ], 
            "orientation": "horizontal", 
            "percent": null, 
            "rect": {
                "height": 840, 
                "width": 164, 
                "x": 753, 
                "y": 77
            }, 
            "scratchpad_state": "none", 
            "swallows": [], 
            "type": "floating_con", 
            "urgent": false, 
            "window": null, 
            "window_rect": {
                "height": 0, 
                "width": 0, 
                "x": 0, 
                "y": 0
            }, 
            "workspace_layout": "default"
        }, 
        {
            "border": "normal", 
            "current_border_width": -1, 
            "floating": "auto_off", 
            "floating_nodes": [], 
            "focus": [
                29637472
            ], 
            "focused": false, 
            "fullscreen_mode": 0, 
            "geometry": {
                "height": 0, 
                "width": 0, 
                "x": 0, 
                "y": 0
            }, 
            "id": 29639104, 
            "last_split_layout": "splith", 
            "layout": "splith", 
            "name": "#ff0000", 
            "nodes": [
                {
                    "border": "normal", 
                    "current_border_width": -1, 
                    "floating": "user_on", 
                    "floating_nodes": [], 
                    "focus": [], 
                    "focused": false, 
                    "fullscreen_mode": 0, 
                    "geometry": {
                        "height": 820, 
                        "width": 210, 
                        "x": 1679, 
                        "y": 0
                    }, 
                    "id": 29637472, 
                    "last_split_layout": "splith", 
                    "layout": "splith", 
                    "name": "Layers - Brushes", 
                    "nodes": [], 
                    "orientation": "none", 
                    "percent": 1.0, 
                    "rect": {
                        "height": 822, 
                        "width": 214, 
                        "x": 733, 
                        "y": 113
                    }, 
                    "scratchpad_state": "none", 
                    "swallows": [], 
                    "type": "con", 
                    "urgent": false, 
                    "window": 37748887, 
                    "window_properties": {
                        "class": "Gimp", 
                        "instance": "gimp", 
                        "title": "Layers - Brushes", 
                        "window_role": "gimp-dock"
                    }, 
                    "window_rect": {
                        "height": 820, 
                        "width": 210, 
                        "x": 2, 
                        "y": 0
                    }, 
                    "workspace_layout": "default"
                }
            ], 
            "orientation": "horizontal", 
            "percent": null, 
            "rect": {
                "height": 840, 
                "width": 214, 
                "x": 733, 
                "y": 95
            }, 
            "scratchpad_state": "none", 
            "swallows": [], 
            "type": "floating_con", 
            "urgent": false, 
            "window": null, 
            "window_rect": {
                "height": 0, 
                "width": 0, 
                "x": 0, 
                "y": 0
            }, 
            "workspace_layout": "default"
        }
    ], 
    "fullscreen_mode": 1, 
    "layout": "splitv", 
    "nodes": [
        {
            "border": "normal", 
            "floating": "auto_off", 
            "layout": "splith", 
            "nodes": [
                {
                    "border": "normal", 
                    "floating": "auto_off", 
                    "geometry": {
                        "height": 200, 
                        "width": 620, 
                        "x": 410, 
                        "y": 370
                    }, 
                    "layout": "splith", 
                    "name": "GNU Image Manipulation Program", 
                    "percent": 0.5, 
                    "swallows": [
                        {
                            "class": "^Gimp$"
                        }
                    ], 
                    "type": "con"
                }, 
                {
                    "border": "normal", 
                    "floating": "auto_off", 
                    "geometry": {
                        "height": 622, 
                        "width": 672, 
                        "x": 0, 
                        "y": 0
                    }, 
                    "layout": "splith", 
                    "name": "em...@sensis-90025-2.corp.sensis.com", 
                    "percent": 0.5, 
                    "swallows": [
                        {
                            "class": "^Emacs23$"
                        }
                    ], 
                    "type": "con"
                }
            ], 
            "percent": 0.5, 
            "type": "con"
        }, 
        {
            "border": "normal", 
            "floating": "auto_off", 
            "layout": "splitv", 
            "nodes": [
                {
                    "border": "normal", 
                    "floating": "auto_off", 
                    "geometry": {
                        "height": 316, 
                        "width": 484, 
                        "x": 0, 
                        "y": 0
                    }, 
                    "layout": "splith", 
                    "name": "ubuntu@sensis-90025-2: ~", 
                    "percent": 0.5, 
                    "swallows": [
                        {
                            "class": "^XTerm$"
                        }
                    ], 
                    "type": "con"
                }, 
                {
                    "border": "normal", 
                    "floating": "auto_off", 
                    "layout": "splith", 
                    "nodes": [
                        {
                            "border": "normal", 
                            "floating": "auto_off", 
                            "geometry": {
                                "height": 316, 
                                "width": 484, 
                                "x": 0, 
                                "y": 0
                            }, 
                            "layout": "splith", 
                            "name": "ubuntu@sensis-90025-2: ~", 
                            "percent": 0.5, 
                            "swallows": [
                                {
                                    "class": "^XTerm$"
                                }
                            ], 
                            "type": "con"
                        }, 
                        {
                            "border": "normal", 
                            "floating": "auto_off", 
                            "geometry": {
                                "height": 316, 
                                "width": 484, 
                                "x": 0, 
                                "y": 0
                            }, 
                            "layout": "splith", 
                            "name": "ubuntu@sensis-90025-2: ~", 
                            "percent": 0.5, 
                            "swallows": [
                                {
                                    "class": "^XTerm$"
                                }
                            ], 
                            "type": "con"
                        }
                    ], 
                    "percent": 0.5, 
                    "type": "con"
                }
            ], 
            "percent": 0.5, 
            "type": "con"
        }
    ], 
    "percent": null, 
    "type": "workspace"
}

-----Original Message-----
From: i3-discuss [mailto:i3-discuss-boun...@i3.zekjur.net] On Behalf Of 
i3-discuss-requ...@i3.zekjur.net
Sent: Monday, September 29, 2014 6:01 AM
To: i3-discuss@i3.zekjur.net
Subject: i3-discuss Digest, Vol 53, Issue 15

Send i3-discuss mailing list submissions to
        i3-discuss@i3.zekjur.net

To subscribe or unsubscribe via the World Wide Web, visit
        http://infra.in.zekjur.net/cgi-bin/mailman/listinfo/i3-discuss
or, via email, send a message with subject or body 'help' to
        i3-discuss-requ...@i3.zekjur.net

You can reach the person managing the list at
        i3-discuss-ow...@i3.zekjur.net

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of i3-discuss digest..."


Today's Topics:

   1. Re: Some workspaces not showing when undocked (Michael Stapelberg)


----------------------------------------------------------------------

Message: 1
Date: Sun, 28 Sep 2014 17:05:20 +0200
From: Michael Stapelberg <mich...@i3wm.org>
To: "Discussions/Questions about the i3 window manager"
        <i3-discuss@i3.zekjur.net>
Subject: Re: [i3] Some workspaces not showing when undocked
Message-ID:
        <CANnVG6n+gR=1eUMq683FAUCM_UnfVvF_2qwC+Z=48t97yh7...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

My guess is that something goes wrong when setting your display settings on 
undock.

I’d start by logging a confirmation line to a file in your undock-script so 
that you know it gets executed.

Also, I’d check the i3 log, see http://i3wm.org/docs/debugging.html,
and check whether the randr settings are as you expect them after undocking.

Instead of logging out and in again, try changing your settings using xrandr.

On Sun, Sep 28, 2014 at 11:12 AM, Danny Jonstrup Krøger 
<mailingl...@kroeger.dk> wrote:
> Hi.
>
> I'm using a laptop, which is connected to two other screens when 
> docked. I have assigned the workspaces to the following screens:
> # eDP1 = laptop
> # DP2 & DP1 = external screens.
> workspace 1 output DP2
> workspace 2 output DP2
> workspace 3 output DP2
> workspace 4 output DP1
> workspace 5 output DP1
> workspace 6 output DP1
> workspace 7 output eDP1
>
> When undocking I run the following randr command to switch off the 
> other
> screens:
> $xrandr --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 
> 0x0 --rotate normal --output DP1 --off --output ↪HDMI2 --off --output 
> HDMI1 --off --output DP2 --off
>
> However I often experience that I'm unable to go to other workspaces 
> than 1 & 7 when undocked. Sometimes 2-6 works, but it seems to be 
> working quite randomly. It doesn't help either if I log out and in again.
>
> When searching for people having the same issue it seems that i3 
> should be handling this scenario without issues, so I'm sure there is 
> something I have overlooked.
>
> Any ideas on how to get this working properly?
>
> Best Regards
> Danny Jonstrup Krøger
>
>



--
Best regards,
Michael


------------------------------

Subject: Digest Footer

_______________________________________________
i3-discuss mailing list
i3-discuss@i3.zekjur.net
http://infra.in.zekjur.net/cgi-bin/mailman/listinfo/i3-discuss


------------------------------

End of i3-discuss Digest, Vol 53, Issue 15
******************************************
-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-          

Reply via email to