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

Strange behavior, then showing (static?) splash screens #2292

Open
ghost opened this issue Jun 15, 2018 · 27 comments
Open

Strange behavior, then showing (static?) splash screens #2292

ghost opened this issue Jun 15, 2018 · 27 comments

Comments

@ghost
Copy link

@ghost ghost commented Jun 15, 2018

Then I am running program, for example, audacity, as awesome doesn't support floating layer, there is black rectangle instead of audacity's logo. Is the any option to disable this behavior at all, as I don't want to see this black thing?

@psychon
Copy link
Member

@psychon psychon commented Jun 15, 2018

Uhm... sorry, what? I do not understand.

@psychon
Copy link
Member

@psychon psychon commented Jun 15, 2018

foo

I just installed Audacity, started it, and made its window floating. The result is shown above. I do not see any black rectangle and I do see audacity's logo. What am I missing?

@ghost
Copy link
Author

@ghost ghost commented Jun 15, 2018

@psychon , that's it!
screenshot_20180615-165657

@psychon
Copy link
Member

@psychon psychon commented Jun 15, 2018

What's your awesome version? Does anything else work? ow come there is no bar at the side of your screen that shows e.g. the currently open windows?

@ghost
Copy link
Author

@ghost ghost commented Jun 15, 2018

awesome v4.2 (Human after all)
• Compiled against Lua 5.3.4 (running with Lua 5.3)
• D-Bus support:
• execinfo support:
• xcb-randr version: 1.5
• LGI version: 0.9.2
Sorry, this is not a screenshot, but yes,ewerything else seems working. This is the video of running audacity: https://youtu.be/3q81a3Dt7fE

@ghost
Copy link
Author

@ghost ghost commented Jun 15, 2018

P.S actually, there is the bar with menu and opened windows exists

@ghost
Copy link
Author

@ghost ghost commented Jun 15, 2018

If I run audacity by the xterm, there will be a lot "ClientToScreen cannot work when toplevel window is not shown" messages

@initrider
Copy link

@initrider initrider commented Jun 15, 2018

@zervankoru same thing, dude

@leadrig
Copy link

@leadrig leadrig commented Jul 9, 2018

@zervankoru I have this problem too.

@alfunx
Copy link
Contributor

@alfunx alfunx commented Jul 9, 2018

@psychon I think they just want to hide that splash screen (which appears as black rectangle for them): screenshot

In case you guys indeed just want to hide the window, xprop on it says:

_NET_WM_DESKTOP(CARDINAL) = 5
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 24, 4
_NET_WM_STATE(ATOM) = _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_ABOVE
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                window id # of group leader: 0x3200001
_GTK_THEME_VARIANT(UTF8_STRING) = 
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x4, 0x2, 0x0, 0x0
XdndAware(ATOM) = BITMAP
_NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 253, 100
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_SPLASH
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 52429051, 52429052
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x32000fa
WM_CLIENT_LEADER(WINDOW): window id # 0x3200001
_NET_WM_PID(CARDINAL) = 12359
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "xps13"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
                program specified minimum size: 253 by 100
                program specified maximum size: 253 by 100
                program specified base size: 0 by 0
                window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "audacity", "Audacity"
WM_ICON_NAME(STRING) = "Audacity is starting up..."
_NET_WM_ICON_NAME(UTF8_STRING) = "Audacity is starting up..."
WM_NAME(STRING) = "Audacity is starting up..."
_NET_WM_NAME(UTF8_STRING) = "Audacity is starting up..."

And starting Audacity from the terminal spams (among some other things):

11:41:04: Debug: ScreenToClient cannot work when toplevel window is not shown
11:41:04: Debug: ClientToScreen cannot work when toplevel window is not shown
@ghost
Copy link
Author

@ghost ghost commented Jul 25, 2018

@alfunx I've tried to run audacity under XFCE. Results:

11:41:04: Debug: ScreenToClient cannot work when toplevel window is not shown
11:41:04: Debug: ClientToScreen cannot work when toplevel window is not shown

I have same messages in terminal, but the splash screen is visible, unlike in awesome

@Perlovka
Copy link
Contributor

@Perlovka Perlovka commented Aug 21, 2018

Add this to ~/.audacity-data/audacity.cfg

[GUI]
ShowSplashScreen=0
@initrider
Copy link

@initrider initrider commented Aug 31, 2018

@Perlovka no, this option disables Welcome screen, not splash screen.

@Perlovka
Copy link
Contributor

@Perlovka Perlovka commented Aug 31, 2018

@initrider but with this option audacity starts without problem for me (audacity-2.2.2)

@initrider
Copy link

@initrider initrider commented Sep 1, 2018

@Perlovka same version of audacity, but it sltill opens with black rectangle

@ghost
Copy link
Author

@ghost ghost commented Sep 5, 2018

Well, that's strange:

  1. killall xfwm4 && awesome - do it until xfce4 will break
  2. run awesome -r (i don't know, why it doesn't work in xfce4 session)
  3. audacity now works as expected. But vanilla awesome still do not work.
@ghost
Copy link
Author

@ghost ghost commented Sep 5, 2018

P.S. running audacity from whisker menu - ok
running audacity from terminal - black rectangle
Reinstalling audacity allows to run audacity from terminal for one time, but then - black rectangle

@ghost
Copy link
Author

@ghost ghost commented Sep 5, 2018

P.P.S audacity -v sometimes help to avoid black rectangle if running from terminal

@ghost
Copy link
Author

@ghost ghost commented Sep 5, 2018

Well, LMMS have the same problem, image is not shown on splash screen. Krita works perfectly.

@ghost ghost changed the title How to disable toplevel in awesome 4.2 Strange behavior, then showing (static?) splash screens Sep 5, 2018
@ghost
Copy link
Author

@ghost ghost commented Sep 5, 2018

So, here is my tests:

  • GIMP - updating it's splash screen, while booting
  • Krita - same

  • Audacity - just show static image while booting
  • LMMS - same

But after starting krita or gimp, spash screen become grey for 1-2 sec, until app update content of spash screen (gimp and krita both show progress of loading)

Audacity and LMMS just shows static image with their logos. LMMS shows grey rectangle (as gimp and krita in first seconds), Audacity shows black rectangle, but I think the prome have same roots.

@ghost
Copy link
Author

@ghost ghost commented Sep 5, 2018

P.S. I have some message like this a_glib_poll:432: Last main loop iteration took 0.184401 seconds! Increasing limit for this warning to that value., then audacity runs with black rectangle

@actionless
Copy link
Member

@actionless actionless commented Sep 6, 2018

@zervankoru is freezing behavior changes with awesome --no-argb and without?

@ghost
Copy link
Author

@ghost ghost commented Sep 6, 2018

@ghost
Copy link
Author

@ghost ghost commented Sep 6, 2018

Well, Awesome 3.5.6 on Ubuntu 16.04 doen't show black rectangle on audacity splash screen in 90%. It looks like race condition.

@ghost
Copy link

@ghost ghost commented Sep 6, 2018

Well, I see this is known issue.

@ghost
Copy link
Author

@ghost ghost commented Sep 6, 2018

@eliseyim follow the bug report on wxwidgets too. Maybe them can help us. https://trac.wxwidgets.org/ticket/18216

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

Successfully merging a pull request may close this issue.

None yet
6 participants