RStudio 1.1.383 cannot display window menu in OpenSUSE Tumbleweed (Xfce)

bug

#1

I just installed RStudio from RStudio’s OBS repo. However it open very slowly and cannot display window menu when I starts it by clicking the shortcut nor by command line. The screen shot looks like this:

Also, I got following message when I starts it through command line:

Failed to register window menu, reason: org.freedesktop.DBus.Error.NoReply (“Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.”)

More interestingly, RStudio can start seamlessly with window menu if I give focus to another program, like firefox or terminal, during RStudio’s startup.

Does anybody encounter similar problem? How can I fix it?

[UPDATE]
According to this post and the bug report of the xfce plugin I used, this problem might relate to Qt. But the workaround does not work. It’s weird since RStudio looks pretty fine in Xubuntu LTS 16.04 with the same xfce plugin few weeks age.


#2

Do you see the same issue in the latest release of RStudio (v1.1.423)?

https://www.rstudio.com/products/rstudio/download/

You might also try installing the latest daily build, and let us know if the issue persists there: https://dailies.rstudio.com.


#3

Thanks for your reply. Does RStudio (v1.1.423) need old version of GStreamer?
I can not open v1.1.423, and I get rstudio: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory. But I have libgstreamer-1_0-0 installed.

I found a post at stackoverflow says RStudio still based on libgstreamer0.10. Is it still the case now?


#4

The main builds of RStudio are indeed built against libgstreamer-0.10.so. We have a Debian package using RStudio built against libgstreamer-1.0 here (built on Ubuntu Xenial):

https://download1.rstudio.org/rstudio-xenial-1.1.423-amd64.deb

but unfortunately we don’t have a similar .rpm package available. Are you able to find and install the older libgstreamer from your package repository’s archives?

You might also try using the daily builds of RStudio, which drop the libgstreamer dependency altogether.


#5

I had try some gstreamer-0.1 package from packman repo, but still can’t get v1.1.423 start.

On the other hand, the bug in v1.1.383 seems resulting from lack of dependent packages of the global menu. After I remove all the relating packages everything works well. :slight_smile:

Keep trying to make both work.