RStudio becomes unresponsive when "clipboard" populated by another program

bug

#1

After a little more testing it's clear this actually isn't an RStudio thing and is instead a problem with GNOME Text Editor. It's still very weird.

TO REPLICATE:

  1. In Rstudio Desktop, open a new R Notebook and begin work. Leave active cursor in the notebook tab.
  2. In GNOME 3.24.2, switch to a large open file in Text Editor with Alt+Tab.
  3. Copy text to clipboard.
  4. Switch back to RStudio.

EXPECTED BEHAVIOR:
Rstudio Desktop is responsive, blinking cursor in R Notebook tab.

OBSERVED BEHAVIOR:
Rstudio Desktop unresponsive, GNOME prompts to "Wait" or "Force Quit." Sometimes Rstudio recovers, sometimes it does not and the process must be killed.

ENVIRONMENT:
Version 1.1.442
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) RStudio Safari/538.1 Qt/5.4.0
On Fedora 26


#2

Same for me, may be related to https://github.com/rstudio/rstudio/issues/2068 ?
I'm using RStudio Version 1.1.419 on a Debian Buster with Gnome Shell.
But not only happen with gedit but also with LibreOffice Calc.