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

WindowMaker hangs when turning on TitleBar for application #13

Open
MarioNigrovic opened this issue Jun 4, 2021 · 9 comments
Open

WindowMaker hangs when turning on TitleBar for application #13

MarioNigrovic opened this issue Jun 4, 2021 · 9 comments

Comments

@MarioNigrovic
Copy link

I use WindowMaker on my work desktop, because I really like the look and feel.
Recently, I've been having to use an application which tries to do its own window management and it disables the titlebar, titlebar icons and the resize bar. In the past I've been able to iconify applications like these and then right-click on the icon to access window attributes and add the titlebar back, etc.
However, with this application when I do this, wmaker just locks up and sits and spins 100% on a CPU.
I would really like to be able to force decorations on to this window so I can shade/unshade it to declutter the screen (it's unfriendly about popping up/down, too). What should I do to help diagnose this problem? Or is this just a lost cause?

@gryf
Copy link
Member

gryf commented Jun 5, 2021

Could you provide steps to reproduce this issue?

@MarioNigrovic
Copy link
Author

It's pretty straighforward:

  1. Start the application (icvwb from Synopsys if that helps)
  2. Iconify it (Alt-M in my setup)
  3. Right click on icon to bring up Attributes form
  4. Un-click on "Disable titlebar" to re-enable it
  5. Click on "Apply"

Immediately upon clicking Apply, WindowMaker freezes and starts burning 100% CPU.

I just discovered that if I kill the --for-real process, I can recover the session, and I used SIGABRT to get some sense of what it had been doing:

(gdb) backtrace
#0 0x0000000000410d01 in wArrangeIcons ()
#1 0x000000000041295e in paint_app_icon ()
#2 0x000000000047521d in applySettings ()
#3 0x00007fb3e7f70932 in handleActionEvents () from /tools/oss/packages/x86_64-centos7/wmaker/0.95.9/lib/libWINGs.so.3
#4 0x00007fb3e7f7caa7 in WMHandleEvent () from /tools/oss/packages/x86_64-centos7/wmaker/0.95.9/lib/libWINGs.so.3
#5 0x00000000004367a6 in EventLoop ()
#6 0x00000000004432b2 in real_main ()
#7 0x00000000004426a4 in main ()

I also discovered that I had a fair number of these "stuck" wmaker processes hanging around on my system, because they weren't dying when I killed of previous Xvnc's that were hosting them. I can attach the core file and binary if that would help?

@MarioNigrovic
Copy link
Author

Oh, I did discover that when I manually add NoTitlebar = No; to my WMWindowAttributes, there's no problem.

@gryf
Copy link
Member

gryf commented Jun 5, 2021

Perhaps attaching core file could help, if you still think, that this is a problem. If you think that solution you discovered is good enough, than you can close the issue.

@crmafra
Copy link
Contributor

crmafra commented Jun 5, 2021 via email

@MarioNigrovic
Copy link
Author

Here are both the core and the executable, in case having the latter helps with interpreting the core. I don't know if our IT department builds the version we run, or if they find a copy somewhere and just install it.
core.127721.gz
wmaker.gz

@MarioNigrovic
Copy link
Author

Oh, BTW, I mentioned that there's a workaround mostly to clarify that it's not necessarily the interaction with the particular application that is the problem, but perhaps it's something about changing the titlebar setting.

@dmaciejak
Copy link
Contributor

That icvwb is a proprietary software, where can we get a trial version? or do you have any other example of app that have the same issue. I tried to reproduce the issue with a gtk3 home made app but wmaker is working properly.

@MarioNigrovic
Copy link
Author

MarioNigrovic commented Feb 10, 2023 via email

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

4 participants