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

guake hangs when you put exit on the CLI and then choose No. #1014

Closed
shirishag75 opened this issue Oct 16, 2017 · 26 comments
Closed

guake hangs when you put exit on the CLI and then choose No. #1014

shirishag75 opened this issue Oct 16, 2017 · 26 comments
Milestone

Comments

@shirishag75
Copy link

First of all thank you for maintaining and improving guake over time. This is how it stacks up on my Debian testing machine -

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (1, 'experimental-debug'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages guake depends on:
ii  cinnamon [notification-daemon]                  3.4.6-1
ii  gconf2                                          3.2.6-4+b1
ii  gnome-flashback [notification-daemon]           3.24.0-2
ii  gnome-shell [notification-daemon]               3.22.3-3
ii  libgtk2.0-0                                     2.24.31-2
ii  mate-notification-daemon [notification-daemon]  1.18.0-2
ii  notification-daemon                             3.20.0-1+b1
ii  plasma-workspace [notification-daemon]          4:5.8.7-1
ii  python                                          2.7.13-2
ii  python-dbus                                     1.2.4-1+b2
ii  python-gconf                                    2.28.1+dfsg-1.2
ii  python-glade2                                   2.24.0-5.1
ii  python-keybinder                                0.3.1-1
ii  python-notify                                   0.1.1-4
ii  python-vte                                      1:0.28.2-5+b2
ii  python-xdg                                      0.25-4
ii  python2.7                                       2.7.13-2
ii  xfce4-notifyd [notification-daemon]             0.3.6-1

guake recommends no packages.

guake suggests no packages.

Now the issue I'm facing is that if I put exit on the CLI, a dialog box opens up which asks whether I really want to exit or not. If I choose Yes, all is well. If, on the other hand if I choose No, the tab/window hangs and isn't functional.

Couple of photos might give an idea I think might give a clue as to why this is happening. Please let me know if you need more info.
zsh-corner-case
guake-preferences-dialog-box-quitting

I am not sure but I think that the second picture might have some relevance on the issue outlined before.

This is what I was able to garner from ~/.gconf/apps/guake/keybindings/local

[$] cat %gconf.xml                                                                                                                      1	<?xml version="1.0"?>
     2	<gconf>
     3		<entry name="search_on_web" mtime="1507050598" type="string">
     4			<stringvalue>&lt;Primary&gt;f</stringvalue>
     5		</entry>
     6		<entry name="quit" mtime="1507043501" type="string">
     7			<stringvalue>disabled</stringvalue>
     8		</entry>
     9		<entry name="new_tab" mtime="1420065408" type="string">
    10			<stringvalue>&lt;Primary&gt;&lt;Shift&gt;t</stringvalue>
    11		</entry>
    12		<entry name="clipboard_paste" mtime="1378908415" type="string">
    13			<stringvalue>&lt;Primary&gt;v</stringvalue>
    14		</entry>
    15		<entry name="clipboard_copy" mtime="1395429249" type="string">
    16			<stringvalue>&lt;Primary&gt;n</stringvalue>
    17		</entry>
    18	</gconf>
@aichingm
Copy link
Collaborator

aichingm commented Nov 22, 2017

I can confirm this behavior with 0.8.11. This also kind of happens with ctrl+d.

Also some strange things is going on the 3! branch with exit and ctrl+d. Guake does not ask to close the tab even if "Prompt on close tab" is set to "always". If closing the tab via RMC guake always says that a proccess is running even if there is none running (see pic)
screenshot_20171122_115808

@gjelsas
Copy link

gjelsas commented May 15, 2018

Can confirm it on Ubuntu 18.04 with Gnome and guake 3.0.5. I have "promt for confirmation on close tab" set on "never".
Now "exit leads guake to a completly stuck state.

Terminal exited: <terminal.GuakeTerminal object at 0x7fcca11357e0 (guake+terminal+GuakeTerminal at 0x28e1ba0)>
Hiding on focus lose
Received window state event: <flags GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_STICKY | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_FOCUSED | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
Received window state event: <flags GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_STICKY | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
Received window state event: <flags GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>

Also with different settings, like always promt. Guake doesnt exit tabs.

@gsemet
Copy link
Member

gsemet commented May 16, 2018

Should be fixed with latest source code

@robert-alfaro
Copy link

I have the issue on Ubuntu 18.04 with Guake 3.0.5

@Matrosskin
Copy link

For me on Ubuntu 18.04.1 the behavior of Guake 3.0.5 still have the issue.

@robert-alfaro
Copy link

Building from source (HEAD) all works fine.

@gsemet
Copy link
Member

gsemet commented Jul 31, 2018

you need to have libutempter0. I will turn it as a mandatory dependency

@gsemet gsemet added this to the -- Next Version -- milestone Jul 31, 2018
@gsemet
Copy link
Member

gsemet commented Jul 31, 2018

Fixed in HEAD

@gsemet gsemet closed this as completed Jul 31, 2018
@NatoBoram
Copy link

Fixed in HEAD

That's good to know! I just came here because I encountered the issue on 18.04.1 but not on 16.04.

@shirishag75
Copy link
Author

shouldn't be the bug be really closed when a new release is made, instead of just when a commit is made. This way we know it's in a new release and can ask distribution maintainers to do the needful and see if things improve.

@yuikns
Copy link

yuikns commented Sep 17, 2018

To whom hangs on Ubuntu 18.04

#1198 (comment) mentioned a solution:

sudo apt install --reinstall libutempter0

This works for me

@gsemet gsemet modified the milestones: -- Next Version --, 3.3.3 Sep 20, 2018
@fifiman
Copy link

fifiman commented Nov 14, 2018

It is still hanging for me on Ubuntu 16.04.

Even after reinsatlling libutempter0 (with reboot), with Guake 3.4.1 from source.

Any ideas?

@sfp932705
Copy link

Thanks!!!
sudo apt install --reinstall libutempter0

Worked perfectly

@aparedero
Copy link

aparedero commented Dec 20, 2018

Also

sudo apt install --reinstall libutempter0

this works on Linux Mint 19.1

@Natetronn
Copy link

Typing exit or using ctrl-d, cursor dropped down a line below the prompt and everything became unresponsive.

I used the following cmd from above and it seems to now be working: sudo apt install --reinstall libutempter0

Ubuntu 18.04.1 LTS
Guake Terminal 3.0.5
zsh 5.4.2 (x86_64-ubuntu-linux-gnu)

@shellta
Copy link

shellta commented Jan 17, 2019

Also working on Deepin 15.9. Thanks.

sudo apt install --reinstall libutempter0

@prateekn
Copy link

To whom hangs on Ubuntu 18.04

#1198 (comment) mentioned a solution:

sudo apt install --reinstall libutempter0

This works for me

reinstalling libutempter0 worked for me..thanks

@roshnet
Copy link

roshnet commented May 21, 2019

Also

sudo apt install --reinstall libutempter0

this works on Linux Mint 19.1

This worked. Much thanks!

@amritms
Copy link

amritms commented Jun 17, 2019

sudo apt install --reinstall libutempter0
works for ubuntu 18.04 after I force killed guake from system monitor and restarted it.

@MJae
Copy link

MJae commented Sep 25, 2019

sudo apt install --reinstall libutempter0
works for ubuntu 18.04 after I force killed guake from system monitor and restarted it.

Same. Works as a fix on Ubuntu 18.04.3.

@mlouielu
Copy link
Collaborator

mlouielu commented Oct 6, 2019 via email

@sharrynathan1233
Copy link

𝒏𝒊𝒄𝒆 𝒃𝒖𝒊𝒍𝒅

@MJae
Copy link

MJae commented Oct 14, 2019

What version of the guake are you using? If you install on Ubuntu via apt, it will install something like 3.0.5, and it is too old. If you install guake from source, this issue will sloved. Andy Ruiz Garramones notifications@github.com 於 2019年10月6日 週日 06:47 寫道:

Installing libutempter0 "solved" the problem causing anoter one. .. Right now it closes the tab, but it closes two in a row. I've tried changing the line in the code that is mentioned to cause the error before getting here and it was the same and it cause the same effect: the tab is closed but it closes the actual and the previous tab. I thought that maybe using your fix and installing the dependency would work as everyone said it fixed, but it kinda fixed and kinda generated another bug. Any ideas or help? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1014?email_source=notifications&email_token=AG3QA2GMONNEGQTFZCV7VGTQNEKORA5CNFSM4D7KRB22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAN5NTA#issuecomment-538695372>, or mute the thread https://github.com/notifications/unsubscribe-auth/AG3QA2DGPYINZIJWP3TYOE3QNEKORANCNFSM4D7KRB2Q .

I checked my version and confirmed that it says, "Guake Terminal 3.0.5". In my case, I did install via apt. That's what it says to do in the doc: https://guake.readthedocs.io/en/stable/user/installing.html. If this is no longer current, that means the doc now needs updating.

@JVGD
Copy link

JVGD commented Mar 2, 2020

To whom hangs on Ubuntu 18.04

#1198 (comment) mentioned a solution:

sudo apt install --reinstall libutempter0

This works for me

This works for me too with Ubuntu 18.04.4 LTS

@sebestas
Copy link

sebestas commented May 5, 2020

The "sudo apt install --reinstall libutempter0" method worked for me as well. Thanks.

@andreyrusanov
Copy link

Worked for me as well, but had to reinstall Guake. Linux Mint 19.3

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

No branches or pull requests