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

Popos/Ubuntu 22.04 - RStudio Daily: Copy+Paste not working #11329

Closed
3 of 4 tasks
universal opened this issue Jun 1, 2022 · 11 comments
Closed
3 of 4 tasks

Popos/Ubuntu 22.04 - RStudio Daily: Copy+Paste not working #11329

universal opened this issue Jun 1, 2022 · 11 comments
Labels

Comments

@universal
Copy link

System details

RStudio Edition : Desktop
RStudio Version : 2022.06.0 Build 461
OS Version      :  Pop!Os (Ubuntu) 22.04
R Version       : 4.2

Steps to reproduce the problem

Open any file, enter some text, and try to copy and paste something using the context menu or keyboard shortcuts

Describe the problem in detail

  • Highlighting some text enables and right-clicking enables the Cut/Copy/Paste context-menu entries. Clicking on Cut or Copy and then clicking elsewhere in the document the context-menu entries are disabled.
  • Copying some text using Ctrl+C and trying to paste it using Ctrl+V does not work either.
  • Copying some text from outside of RStudio and pasting it, does not work either.

Describe the behavior you expected

Copy + Paste works.

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
@universal
Copy link
Author

universal commented Jun 1, 2022

Just tried an older build, picked basically at random... With Build 452 Copy+Paste still works.

Happy to supply any missing/ more details :-)

@ronblum ronblum added bug info needed Additional information requested—reprex, steps, open question, etc. labels Jun 1, 2022
@ronblum
Copy link
Contributor

ronblum commented Jun 1, 2022

@universal Thank you for raising this! Checking the older build is on its own already helpful, so I appreciate it. I can't reproduce the issue though, using Ubuntu 22.04 with R 4.2.0 and GNOME. What desktop environment are you using?

@jgutman Do you have any suggestions of other information that @universal can provide?

@universal
Copy link
Author

universal commented Jun 2, 2022

thanks for the quick reply! I am using Pop!Os which uses Gnome with some modifications.

I tried with todays build (467) and again with 461... now it works... can't reproduce as well anymore... strange...

@universal universal closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2022
@ronblum
Copy link
Contributor

ronblum commented Jun 2, 2022

@universal That's good to hear, and thank you for letting us know! I was reluctant to suggest reverting to build 452, so I'm glad to hear that build 467 works.

@universal universal reopened this Jun 3, 2022
@universal
Copy link
Author

back to square one: after booting my machine today... again no copy/paste... no other process open...

marking some text -> ctrl+c -> ctrl+v leads to no visible changes, but marks the file as changed... so at least something is happening...

detailed version information, as I was curious about the electron version, but that seems to inhibit the same problem:

RStudio 2022.06.0-daily+467 "Spotted Wakerobin" Daily (bf3030ac3d4667619d7bc7367d780e372ad873c1, 2022-06-01) for Ubuntu Jammy
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2022.06.0-daily+467 Chrome/102.0.5005.61 Electron/19.0.1 Safari/537.36

gonna try with todays build(s), and see if it works after just uninstalling and reinstalling and see if a reboot "breaks" it...

@universal
Copy link
Author

universal commented Jun 3, 2022

after a reboot, still broken. Happy to supply any more details, do some debugging, ... Just clueless as to what to check now... Copy+Paste works in other applications :-)

deleted rstudio dirs in .config / .local -- still no luck

452 also not working anymore...

copy+paste in git commit window works.

trying to paste something into the editor window also empties out the "copy buffer", so not able to paste that into another application.

@ronblum
Copy link
Contributor

ronblum commented Jun 3, 2022

[See also #11111)

@jgutman
Copy link
Contributor

jgutman commented Jun 3, 2022

This was also reported in RStudio Community

@ronblum ronblum removed the info needed Additional information requested—reprex, steps, open question, etc. label Jun 6, 2022
@universal
Copy link
Author

daily build 491 (not the electron variant!) appears to be working again. even survived a reboot... will monitor the situation.

@mikebessuille
Copy link
Contributor

Notice that in #11111, per #11111 (comment), the QT builds seem to now be fixed but Matheus is still reproducing this in Electron. I think we should close 11329 and continue working on this in 11111 as an electron-specific issue.

@matheustavaresdev
Copy link
Contributor

Just tested it on https://dailies.rstudio.com/version/2022.06.0-daily+461/ and this behavior only occurs on the Electron build. Regular build works as expected. Closing this issue so this can be tracked on #11111

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

No branches or pull requests

5 participants