bigbn/drop-down-terminal-x

Open new terminal in current directory feature does not work

szarnyasg opened this issue · 3 comments

Describe the bug
The "Open new terminal in current directory" feature introduced with PR #56 does not work.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to /tmp.
  2. Press Ctrl + Shift + T to open a new tab.
  3. Check pwd.
  4. The location is $HOME instead of /tmp.

Expected behaviour
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • Distro: Fedora 32
  • Gnome-version: 3.36.6
  • Extension-version: 16
  • Xorg or wayland? The behavior is the same on both.

(Extension version obtained with grep version ~/.local/share/gnome-shell/extensions/drop-down-terminal-x@bigbn.pro/metadata.json).

Additional context
N/A

Error logs
No trace in the log. There isn't any sign of a problem in journalctl -xe.

Sep 22 10:02:35 t480s gnome-shell[129712]: Asked to toggle
Sep 22 10:02:35 t480s gnome-shell[129712]: Updating window geometry        false
Sep 22 10:02:35 t480s gjs[130691]: gdk_window_get_effective_toplevel: assertion 'GDK_IS_WINDOW (window)' failed
Sep 22 10:02:35 t480s gjs[130691]: Couldn't map as window 0x56458995e6b0 as popup because it doesn't have a parent
Sep 22 10:02:35 t480s gnome-shell[129712]: Window manager warning: Overwriting existing binding of keysym ff09 with keysym ff09 (keycode 17).
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_set_colors(VteTerminal*, const GdkRGBA*, const GdkRGBA*, const GdkRGBA*, gsize): assertion 'background == nullptr || valid_color(background)' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s systemd[4935]: Started VTE child process 132745 launched by drop-down-terminal-x process 130691.
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit UNIT has finished successfully.
-- 
-- The job identifier is 8495.
Sep 22 10:02:39 t480s gnome-shell[129712]: Asked to toggle
Sep 22 10:02:39 t480s gnome-shell[129712]: Updating window geometry        false
Sep 22 10:02:39 t480s gnome-shell[129712]: Window manager warning: Overwriting existing binding of keysym ff09 with keysym ff09 (keycode 17).
bigbn commented

The line source /etc/profile.d/vte.sh in .bashrc helps me in Archlinux.

@bigbn it indeed fixed the problem for me, thank you!