Ctrl+C keyboard shortcut problem

Hi there,

Ctrl+C shortcut has an erratic behavior. sessionInfo:

R version 3.6.1 (2019-07-05)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux

Matrix products: default
BLAS:   /usr/lib/libblas.so.3.8.0
LAPACK: /usr/lib/liblapack.so.3.8.0

locale:
 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C               LC_TIME=en_GB.UTF-8       
 [4] LC_COLLATE=en_GB.UTF-8     LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8   
 [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] cowplot_1.0.0         randomForestSRC_2.9.1 forcats_0.4.0         stringr_1.4.0        
 [5] dplyr_0.8.3           purrr_0.3.2           readr_1.3.1           tidyr_1.0.0          
 [9] tibble_2.1.3          ggplot2_3.2.1         tidyverse_1.2.1       randomForest_4.6-14  
[13] data.table_1.12.2     mltools_0.3.5         raster_3.0-7          sp_1.3-1             

loaded via a namespace (and not attached):
 [1] httr_1.4.1           jsonlite_1.6         splines_3.6.1        foreach_1.4.7       
 [5] prodlim_2018.04.18   modelr_0.1.5         assertthat_0.2.1     stats4_3.6.1        
 [9] cellranger_1.1.0     yaml_2.2.0           ipred_0.9-9          pillar_1.4.2        
[13] backports_1.1.4      lattice_0.20-38      glue_1.3.1           digest_0.6.21       
[17] rvest_0.3.4          colorspace_1.4-1     recipes_0.1.7        Matrix_1.2-17       
[21] plyr_1.8.4           timeDate_3043.102    pkgconfig_2.0.3      broom_0.5.2         
[25] haven_2.1.1          caret_6.0-84         scales_1.0.0         gower_0.2.1         
[29] lava_1.6.6           generics_0.0.2       withr_2.1.2          nnet_7.3-12         
[33] hexbin_1.27.3        lazyeval_0.2.2       cli_1.1.0            survival_2.44-1.1   
[37] magrittr_1.5         crayon_1.3.4         readxl_1.3.1         fansi_0.4.0         
[41] nlme_3.1-140         MASS_7.3-51.4        xml2_1.2.2           class_7.3-15        
[45] rsconnect_0.8.15     tools_3.6.1          hms_0.5.1            lifecycle_0.1.0     
[49] munsell_0.5.0        compiler_3.6.1       e1071_1.7-2          rlang_0.4.0         
[53] iterators_1.0.12     rstudioapi_0.10      labeling_0.3         gtable_0.3.0        
[57] ModelMetrics_1.2.2   codetools_0.2-16     reshape2_1.4.3       R6_2.4.0            
[61] lubridate_1.7.4.9000 zeallot_0.1.0        utf8_1.1.4           stringi_1.4.3       
[65] parallel_3.6.1       Rcpp_1.0.2           vctrs_0.2.0          rpart_4.1-15        
[69] tidyselect_0.2.5

The problem is only present within RStudio.
My keyboard layer is Querty US International with dead key.

Any clue what could be the problem?

  • What pane of the IDE are you trying to use it in?
  • What does it do?
  • What do you expect it to do?

Version 1.1.453 – © 2009-2018 RStudio, Inc.

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) RStudio Safari/538.1 Qt/5.4.0

The diagnostic-report.txt file has this errors since 9 August 2019:

24 Oct 2019 14:37:23 [rsession-marcos] CLIENT EXCEPTION (rsession-marcos): (TypeError) : 
undefined is not an object (evaluating 'this.a.a.r.row');|||com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang
/Exceptions.java#28::wrap|||com/google/gwt/core/client
/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client
/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client
/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client
/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google
/gwt/core/client/impl/Impl.java#283::entry0|||#-1::anonymous|||com/google/gwt/cell/client
/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-
Agent: Mozilla/5.0 (X11  Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) RStudio Safari/538.1 
Qt/5.4.0

The header of the diagnostic report is:

[1] "1.1.453"

$R
[1] "/usr/bin/R"

$pdflatex
[1] "/usr/bin/pdflatex"

$bibtex
[1] "/usr/bin/bibtex"

$gcc
[1] "/usr/bin/gcc"

$git
[1] "/usr/bin/git"

$svn
[1] "/usr/bin/svn"

R version 3.6.1 (2019-07-05)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux

Matrix products: default
BLAS:   /usr/lib/libblas.so.3.8.0
LAPACK: /usr/lib/liblapack.so.3.8.0

locale:
 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C               LC_TIME=en_GB.UTF-8       
 [4] LC_COLLATE=en_GB.UTF-8     LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8   
 [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.6.1 tools_3.6.1    yaml_2.2.0    

SysInfo:
                                      sysname                                       release 
                                      "Linux"                          "5.3.7-arch1-1-ARCH" 
                                      version                                      nodename 
"#1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019"                                     "Nomad01" 
                                      machine                                         login 
                                     "x86_64"                                      "<user>" 
                                         user                                effective_user 
                                     "<user>"                                      "<user>" 

R Version:
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          3                           
minor          6.1                         
year           2019                        
month          07                          
day            05                          
svn rev        76782                       
language       R                           
version.string R version 3.6.1 (2019-07-05)
nickname       Action of the Toes          
$CLICOLOR_FORCE
[1] "1"

$DBUS_SESSION_BUS_ADDRESS
[1] "unix:path=/run/user/1000/bus"

$DESKTOP_SESSION
[1] "gnome-xorg"

$DISPLAY
[1] ":1"

$EDITOR
[1] "vi"

$GDM_LANG
[1] "en_GB.UTF-8"

$GDMSESSION
[1] "gnome-xorg"

$GIO_LAUNCHED_DESKTOP_FILE
[1] "/usr/share/applications/rstudio.desktop"

$GIO_LAUNCHED_DESKTOP_FILE_PID
[1] "4663"

$GIT_ASKPASS
[1] "rpostback-askpass"

$GJS_DEBUG_OUTPUT
[1] "stderr"

$GJS_DEBUG_TOPICS
[1] "JS ERROR;JS LOG"

$HG
[1] "/usr/bin/hg"

$HOME
[1] "/home/<user>"

$INVOCATION_ID
[1] "2a3e608be12f4f699efaaf9f405477b8"

$JOURNAL_STREAM
[1] "9:32772"

$KDEDIRS
[1] "/usr"

$LANG
[1] "en_GB.UTF-8"

$LD_LIBRARY_PATH
[1] "/usr/lib64/R/lib::/lib:/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server"

$LN_S
[1] "ln -s"

$LOGNAME
[1] "<user>"

$MAIL
[1] "/var/spool/mail/<user>"

$MAKE
[1] "make"

$MANAGERPID
[1] "1087"

$MOZ_PLUGIN_PATH
[1] "/usr/lib/mozilla/plugins"

$PAGER
[1] "/usr/bin/less"

$PATH
[1] "/usr/local/bin:/usr/local/sbin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"

$PWD
[1] "/home/<user>"

$QT_DIR
[1] "/usr/lib/rstudio/bin"

$QT_IM_MODULE
[1] "compose"

$QT_PLUGIN_PATH
[1] "/usr/lib/rstudio/bin/plugins"

$QT_QPA_PLATFORM_PLUGIN_PATH
[1] "/usr/lib/rstudio/bin/plugins/platforms"

$R_BROWSER
[1] "/usr/bin/xdg-open"

$R_BZIPCMD
[1] "/usr/bin/bzip2"

$R_DOC_DIR
[1] "/usr/share/doc/R/"

$R_GZIPCMD
[1] "/usr/bin/gzip"

$R_HOME
[1] "/usr/lib64/R"

$R_INCLUDE_DIR
[1] "/usr/include/R/"

$R_LIBS_SITE
[1] ""

$R_LIBS_USER
[1] "~/R/x86_64-pc-linux-gnu-library/3.6"

$R_PAPERSIZE
[1] "a4"

$R_PDFVIEWER
[1] "/usr/bin/xdg-open"

$R_PLATFORM
[1] "x86_64-pc-linux-gnu"

$R_PRINTCMD
[1] ""

$R_RD4PDF
[1] "times,inconsolata,hyper"

$R_SESSION_TMPDIR
[1] "/tmp/RtmpJjkffp"

$R_SHARE_DIR
[1] "/usr/share/R/"

$R_STRIP_SHARED_LIB
[1] "strip --strip-unneeded"

$R_STRIP_STATIC_LIB
[1] "strip --strip-debug"

$R_SYSTEM_ABI
[1] "linux,gcc,gxx,gfortran,gfortran"

$R_TEXI2DVICMD
[1] "/usr/bin/texi2dvi"

$R_UNZIPCMD
[1] "/usr/bin/unzip"

$R_ZIPCMD
[1] "/usr/bin/zip"

$RMARKDOWN_MATHJAX_PATH
[1] "/usr/lib/rstudio/resources/mathjax-26"

$RS_LOCAL_PEER
[1] "/tmp/27713-rsession"

$RS_PPM_FD_READ
[1] "12"

$RS_PPM_FD_WRITE
[1] "13"

$RS_RPOSTBACK_PATH
[1] "/usr/lib/rstudio/bin/rpostback"

$RS_SHARED_SECRET
[1] "16816927778469308861804289383"

$RSTUDIO
[1] "1"

$RSTUDIO_CONSOLE_COLOR
[1] "256"

$RSTUDIO_CONSOLE_WIDTH
[1] "102"

$RSTUDIO_PANDOC
[1] "/usr/lib/rstudio/bin/pandoc"

$RSTUDIO_SESSION_PORT
[1] "27713"

$RSTUDIO_USER_IDENTITY
[1] "<user>"

$RSTUDIO_WINUTILS
[1] "bin/winutils"

$SED
[1] "/usr/bin/sed"

$SESSION_MANAGER
[1] "local/Nomad01:@/tmp/.ICE-unix/1163,unix/Nomad01:/tmp/.ICE-unix/1163"

$SHELL
[1] "/bin/bash"

$SHLVL
[1] "0"

$SSH_AUTH_SOCK
[1] "/run/user/1000/keyring/ssh"

$TAR
[1] "/usr/bin/tar"

$TERM
[1] "xterm-256color"

$USER
[1] "<user>"

$USERNAME
[1] "<user>"

$WINDOWPATH
[1] "2"

$XAUTHORITY
[1] "/run/user/1000/gdm/Xauthority"

$XDG_CURRENT_DESKTOP
[1] "GNOME"

$XDG_DATA_DIRS
[1] "/home/<user>/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/"

$XDG_MENU_PREFIX
[1] "gnome-"

$XDG_RUNTIME_DIR
[1] "/run/user/1000"

$XDG_SESSION_CLASS
[1] "user"

$XDG_SESSION_DESKTOP
[1] "gnome-xorg"

$XDG_SESSION_TYPE
[1] "x11"

 [1] ".GlobalEnv"        "tools:rstudio"     "package:stats"     "package:graphics" 
 [5] "package:grDevices" "package:utils"     "package:datasets"  "package:methods"  
 [9] "Autoloads"         "package:base"     
Log file: rdesktop.log

The Ctrl+C shortcut does nothing. So, when I select and copy a piece of text and try to paste it doesn't work. Copying with contextual menu of pointer sometimes work and sometimes not. If I press Ctrl+C several times, it may work.

So, basically the function Ctrl+C (Copy) or Ctrl+X (Cut) don't work.

Do you have any idea?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.