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

lxqt-panel crashes with i3 wm when switching worskspace #240

Closed
gour opened this Issue Jul 19, 2014 · 14 comments

Comments

7 participants
@gour

gour commented Jul 19, 2014

Hello,

I'm interested in LXQt and would like to use i3 wm. Installed Manjaro Linux under vbox (running on Debian Sid) and tried it with i3 wm.

When the OS starts, everything is fine, but after moving to another virtual worksapce

with Mod-2 keyboard shortcut, lxqt-panel crashes.

After restarting it, I was able to get the following backtrace: http://pastebin.com/BhLshbRk

Sincerely,
Gour

@theredbaron1834

This comment has been minimized.

theredbaron1834 commented Jul 19, 2014

I just tried this on stock Arch, and it worked fine.

Maybe it is something to do with vbox, or how i3 is setup in Manjaro (I am not an i3 user, and just used the default settings).

@gour

This comment has been minimized.

gour commented Jul 20, 2014

I just tried this on stock Arch, and it worked fine.

That's good to know, thanks.

In the meantime I also tried with Seduction iso and same result - I also used default i3 setting automatically created after 1st launch, iow. nothing fancy, so will try with real install on my netbook.

@gour

This comment has been minimized.

gour commented Jul 20, 2014

Tried again by installing on my netbook running Debian Sid. Selected i3 as wm and whenever I try to switch workspace, lxqt-panel crashes - here is the 'native' backtrace: http://pastebin.com/v9UEU4E7

Edit: @theredbaron1834 I also wonder if you tried to switch workspaces or you just did tried to lanch lxqt?

@PCMan PCMan added this to the mstone-0.8.0 milestone Jul 24, 2014

@I-sty

This comment has been minimized.

I-sty commented Jul 24, 2014

I use i3wm on my native system.
And I am using lxqt on vbox.
If you can solve to use lxqt with i3wm it be a wonder.

@gour: I will clone my lxqt system in Vbox, and I will try with i3wm! :D

@theredbaron1834

This comment has been minimized.

theredbaron1834 commented Jul 24, 2014

@gour
I ran i3 after I was already running LXQT. This did cause a few problems, like having a few autostart programs run twice, but still.

I installed i3 from pacman. Then I killed pekwm, and ran i3 (as i3 doesn't seem to have --replace). Then I switched workspaces via ctrl 2, then back to 1. I actually just did it again, with everything fully updated as of last night. Worked fine, in that nothing crashed. It did have a few problems though. It force lxqt-panel to move up a bit, to leave room for it's panel. As well as push pcmanfm-qt into a window, not letting it take care of the background. And it probable needs some config settings, as it defaulted to windows being tiny slivers. Still, it didn't crash anything.

Don't known why it is working for me and not you.

@gour

This comment has been minimized.

gour commented Jul 25, 2014

@theredbaron1834

Then I switched workspaces via ctrl 2, then back to 1.

Hmm...this is suspicious...i3 creates after first run config file and offers choise between 'Window' (meta) key or Alt as modifier keys, so I assume that your ctrl-2 is not moving i3's workspaces, but, possibly, the ones defines by Xfce itself?

Can you confirm it and/or try using Window/Alt key depending on your choice?

@theredbaron1834

This comment has been minimized.

theredbaron1834 commented Jul 25, 2014

You are right, I said it incorrectly. I pressed Win+1/2 not Ctrl. I just did it again to be sure. So, yeah, on my arch install (which was a fresh arch + lxqt from the AUR, no other DE stuff) it worked fine. I don't known if it is an arch thing, or a hardware thing though.

Also, XFCE?

@gour

This comment has been minimized.

gour commented Jul 26, 2014

Thank you for confirming. Here I've lxqt-0.70 (siduction packages) and Xfce-4.10...

@PCMan PCMan removed this from the mstone-0.8.0 milestone Aug 5, 2014

@PCMan

This comment has been minimized.

Member

PCMan commented Aug 5, 2014

Fixing this one is non-trivial. Remove it from 0.8 milestone.
Two problems caused this bug.

  1. i3wm has incomplete EWMH spec support. So actually, i3wm is not compatible with LXQt at the moment and won't work correctly with the rest of LXQt unless it's EWMH support gets improved.
  2. There are some bugs in liblxqt (Xfitman part), mainly the lack of adequate NULL checking. Xlib calls may fail for many reasons, but Xfitman does not check all of them properly. This requires rework of Xfitman.
    Since Xfitman is deprecated and we're going to migrate to KWindowSystem, I consider this WONTFIX.
    KWindowSystem has better support for WMs without adequate EWMH support so it's possible that migrating to KWindowSystem can fix this bug later.
@jleclanche

This comment has been minimized.

Contributor

jleclanche commented Aug 5, 2014

  1. i3wm has incomplete EWMH spec support.

Got me there.

@jleclanche jleclanche added this to the mstone-1.0 milestone Aug 5, 2014

@jleclanche jleclanche added the upstream label Aug 5, 2014

@gour

This comment has been minimized.

gour commented Aug 6, 2014

@PCMan Now I've two questions:

  1. How does it work for @theredbaron1834 ?

  2. How does i3 work under Xfce?

@PCMan

This comment has been minimized.

Member

PCMan commented Aug 6, 2014

There are some bugs in liblxqt which may trigger crashes when the wm has
incomplete ewmh support. So, yes it's the bug of lxqt, but this may be
improved after migrating to kwindowsystem, so don't fix it now.
2014/8/6 下午4:45 於 "Gour" notifications@github.com 寫道:

@PCMan https://github.com/PCMan Now I've two questions:

  1. How does it work for @theredbaron1834
    https://github.com/theredbaron1834 ?

  2. How does i3 work under Xfce?


Reply to this email directly or view it on GitHub
#240 (comment).

@equalsraf

This comment has been minimized.

equalsraf commented Aug 22, 2014

Having a similar experience here.(0.7.0 in OpenSUSE)

A quick backtrace shows the panel crashing in DesktopSwitch::x11EventFilter(XEvent* _event)in

        m_buttons->button(activeDesk)->setChecked(true);

I assume the activeDesk number is somehow invalid, but I will have to recompile the panel to be sure.

Quick fix: removing the desktopswitch plugin from the panel allows me to run i3.

@theredbaron1834

This comment has been minimized.

theredbaron1834 commented Aug 24, 2014

Quick fix: removing the desktopswitch plugin from the panel allows me to run i3.

And that is probable why it ran for me. I almost never use multiple desktops, so that was removed.

@jleclanche jleclanche modified the milestones: 1.0.0, 0.9.0 Oct 14, 2014

paulolieuthier added a commit to lxqt/lxqt-panel that referenced this issue Oct 30, 2014

Fix segfault on i3 when changing workspaces. Fixes lxqt/lxqt#240
i3 workspaces are inconsistent with the desktop switch widget.

@agaida agaida added this to Archive in Issues Aug 11, 2018

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