{"action":"created","issue":{"url":"https://api.github.com/repos/herecura/vim/issues/3","repository_url":"https://api.github.com/repos/herecura/vim","labels_url":"https://api.github.com/repos/herecura/vim/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/herecura/vim/issues/3/comments","events_url":"https://api.github.com/repos/herecura/vim/issues/3/events","html_url":"https://github.com/herecura/vim/issues/3","id":187762009,"number":3,"title":"vim-gvim-gtk3 not working since gtk3-3.22.1+69+ga1115c0-1","user":{"login":"Oberon00","id":849039,"avatar_url":"https://avatars.githubusercontent.com/u/849039?v=3","gravatar_id":"","url":"https://api.github.com/users/Oberon00","html_url":"https://github.com/Oberon00","followers_url":"https://api.github.com/users/Oberon00/followers","following_url":"https://api.github.com/users/Oberon00/following{/other_user}","gists_url":"https://api.github.com/users/Oberon00/gists{/gist_id}","starred_url":"https://api.github.com/users/Oberon00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oberon00/subscriptions","organizations_url":"https://api.github.com/users/Oberon00/orgs","repos_url":"https://api.github.com/users/Oberon00/repos","events_url":"https://api.github.com/users/Oberon00/events{/privacy}","received_events_url":"https://api.github.com/users/Oberon00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-07T16:41:12Z","updated_at":"2016-11-07T21:05:58Z","closed_at":null,"body":"I file this issue here because gvim worked with gtk3-3.22.1+8+ge11df6c-2 but is broken at least since gk3-3.22.1+69+ga1115c0-1 and no other gtk3 apps seem to be broken. This could also be a genuine Vim bug though. All of the following debugging was done with gtk3-3.22.2+4+gc54f348-1 (the newest version in Arch repos at this time).\r\nEDIT: I use Vim version 8.0.0069-1, but the issue also appears with 8.0.0003-1.\r\n\r\nGvim will show a blank area with some artifacts to the left instead of text:\r\n\r\n![gvim](https://cloud.githubusercontent.com/assets/849039/20065741/7d4afc6c-a50f-11e6-8558-1a66aa76af59.png)\r\n\r\nIn my terminal, the following warning appears 10 times: ``(gvim:107792): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion 'width >= -1' failed`` .  The warning appears again every time I resize the gvim window.\r\n\r\nAdditionally, if I press `:` I get\r\n```\r\n*** BUG ***\r\nIn pixman_region32_init_rect: Invalid rectangle passed\r\nSet a breakpoint on '_pixman_log_error' to debug\r\n```\r\nThis seems to be purely a display issue though, because if I (blindly) type `:quit`, gvim closes.\r\n\r\nI obtained the following backtrace with `G_DEBUG=fatal-criticals gdb --args gvim -u NONE -f`:\r\n\r\n```\r\n(gdb) r\r\nStarting program: /usr/bin/gvim -u NONE -f\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/usr/lib/libthread_db.so.1\".\r\n[New Thread 0x7fffeb24e700 (LWP 117030)]\r\n[New Thread 0x7fffeaa4d700 (LWP 117031)]\r\n[New Thread 0x7fffea24c700 (LWP 117032)]\r\n\r\n(gvim:117026): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion 'width >= -1' failed\r\n\r\nThread 1 \"gvim\" received signal SIGTRAP, Trace/breakpoint trap.\r\n0x00007ffff5f83ff1 in ?? () from /usr/lib/libglib-2.0.so.0\r\n(gdb) bt full\r\n\r\n#0  0x00007ffff5f83ff1 in  () at /usr/lib/libglib-2.0.so.0\r\n#1  0x00007ffff5f853fd in g_logv () at /usr/lib/libglib-2.0.so.0\r\n#2  0x00007ffff5f8555f in g_log () at /usr/lib/libglib-2.0.so.0\r\n#3  0x00000000005e29c4 in gtk_form_move_resize (form=0xc1a110, widget=0xc1b0f0, x=0, y=0, w=<optimized out>, h=<optimized out>) at gui_gtk_f.c:1166\r\n#4  0x00000000005d828c in gui_mch_set_text_area_pos (x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>) at gui_gtk.c:827\r\n#5  0x00000000005d0139 in gui_position_components (total_width=12) at gui.c:1355\r\n        text_area_x = 0\r\n        text_area_width = -4\r\n        text_area_height = 34\r\n#6  0x00000000005d2ebc in gui_resize_shell (pixel_width=<optimized out>, pixel_height=pixel_height@entry=46) at gui.c:1470\r\n        busy = 1\r\n        pixel_height = 46\r\n        pixel_width = 12\r\n        busy = 1\r\n#7  0x00000000005da78f in form_configure_event (widget=widget@entry=0xc1a110, event=0xe0a030, data=<optimized out>) at gui_gtk_x11.c:4440\r\n        usable_height = 46\r\n#8  0x00007ffff77004ac in _gtk_marshal_BOOLEAN__BOXED (closure=0xdb2fb0, return_value=0x7fffffffd260, n_param_values=<optimized out>, param_values=0x7fffffffd2c0, invocation_hint=<optimized out>, marshal_data=<optimized out>)\r\n    at gtkmarshalers.c:86\r\n        callback = 0x5da740 <form_configure_event>\r\n        cc = 0xdb2fb0\r\n        data1 = 0xc1a110\r\n        data2 = <optimized out>\r\n        v_return = <optimized out>\r\n        __func__ = \"_gtk_marshal_BOOLEAN__BOXED\"\r\n#9  0x00007ffff6256f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0\r\n#10 0x00007ffff6268f82 in  () at /usr/lib/libgobject-2.0.so.0\r\n#11 0x00007ffff627166f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0\r\n#12 0x00007ffff6271faf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0\r\n#13 0x00007ffff784cc5c in gtk_widget_event_internal (widget=0xc1a110, event=0xe0a030) at gtkwidget.c:7721\r\n        signal_num = <optimized out>\r\n        handled = 0\r\n        event = 0xe0a030\r\n        widget = 0xc1a110\r\n#14 0x00007ffff76ff4d4 in gtk_main_do_event (event=0xe0a030) at gtkmain.c:1830\r\n        event_widget = 0xc1a110\r\n        grab_widget = 0xc1a110\r\n        topmost_widget = <optimized out>\r\n        window_group = 0xdb9d30\r\n        rewritten_event = <optimized out>\r\n        device = 0x0\r\n        tmp_list = <optimized out>\r\n        __func__ = \"gtk_main_do_event\"\r\n#15 0x00007ffff7211b85 in _gdk_event_emit (event=event@entry=0xe0a030) at gdkevents.c:73\r\n#16 0x00007ffff7242b42 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at gdkeventsource.c:367\r\n        display = <optimized out>\r\n        event = 0xe0a030\r\n#17 0x00007ffff5f7e587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0\r\n#18 0x00007ffff5f7e7f0 in  () at /usr/lib/libglib-2.0.so.0\r\n#19 0x00007ffff5f7e89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0\r\n#20 0x00000000005df2b5 in gui_mch_update () at gui_gtk_x11.c:6471\r\n#21 0x00000000005d3cae in gui_init () at gui.c:720\r\n        wp = 0x0\r\n        recursive = 0\r\n#22 0x00000000005b14d1 in set_termname (term=0x9493d8 \"gui\") at term.c:1721\r\n        termp = <optimized out>\r\n        builtin_first = <optimized out>\r\n        try = 0\r\n        termcap_cleared = 1\r\n        width = 0\r\n        height = 0\r\n        error_msg = 0x0\r\n        bs_p = <optimized out>\r\n#23 0x00000000005b19bd in termcapinit (name=<optimized out>, name@entry=0x649b08 \"builtin_gui\") at term.c:2384\r\n        term = <optimized out>\r\n#24 0x00000000005d52f9 in gui_attempt_start () at gui.c:166\r\n        recursive = 1\r\n#25 0x00000000005d53fe in gui_start () at gui.c:110\r\n        old_term = 0x949390 \"xterm-256color\"\r\n        recursive = 1\r\n#26 0x00000000006111bf in vim_main2 () at main.c:525\r\n#27 0x0000000000438610 in main (argc=<optimized out>, argv=<optimized out>) at main.c:415\r\n        i = <optimized out>\r\n```"},"comment":{"url":"https://api.github.com/repos/herecura/vim/issues/comments/258962441","html_url":"https://github.com/herecura/vim/issues/3#issuecomment-258962441","issue_url":"https://api.github.com/repos/herecura/vim/issues/3","id":258962441,"user":{"login":"BlackIkeEagle","id":293691,"avatar_url":"https://avatars.githubusercontent.com/u/293691?v=3","gravatar_id":"","url":"https://api.github.com/users/BlackIkeEagle","html_url":"https://github.com/BlackIkeEagle","followers_url":"https://api.github.com/users/BlackIkeEagle/followers","following_url":"https://api.github.com/users/BlackIkeEagle/following{/other_user}","gists_url":"https://api.github.com/users/BlackIkeEagle/gists{/gist_id}","starred_url":"https://api.github.com/users/BlackIkeEagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlackIkeEagle/subscriptions","organizations_url":"https://api.github.com/users/BlackIkeEagle/orgs","repos_url":"https://api.github.com/users/BlackIkeEagle/repos","events_url":"https://api.github.com/users/BlackIkeEagle/events{/privacy}","received_events_url":"https://api.github.com/users/BlackIkeEagle/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T21:05:57Z","updated_at":"2016-11-07T21:05:57Z","body":"There is an open PR for vim to fix this https://github.com/vim/vim/pull/1193\r\n\r\nBut it does not seem to work"}}
{"actor":{"display_login":"BlackIkeEagle"}}