Bug 461534

Summary: RKWard crashes if renaming object in workspace
Product: [Applications] rkward Reporter: Jan <yzle>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: normal CC: thomas.friedrichsmeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Log: rkward.frontend
Log: rkward.rbackend

Description Jan 2022-11-07 07:52:13 UTC
Created attachment 153538 [details]
Log: rkward.frontend

SUMMARY
RKWard 0.7.5

Install via ppa (/etc/apt/sources.list.d/rkward-devel-ubuntu-rkward-stable-cran-focal.list):
deb http://ppa.launchpad.net/rkward-devel/rkward-stable-cran/ubuntu focal main

sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.5 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

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

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

other attached packages:
[1] rkward_0.7.5

loaded via a namespace (and not attached):
[1] compiler_4.2.2 tools_4.2.2

STEPS TO REPRODUCE
1. Start RKWard.
2. Create or open R-script.
3. Create an object (e.g. a <- 1).
4. Select object "a" in workspace.
5. Open contextmenu (right mouse click) of object.
6. Select rename (in German "Umbenennen")
7. Give a new name, e.g. b.
8. Click button OK.

OBSERVED RESULT
RKWard instantly crashs.

EXPECTED RESULT
Object will be renamed to b.

SOFTWARE VERSIONS
RKWard 0.7.5
KDE Frameworks 5.68.0
Qt 5.12.8
Lubuntu 20.04

ADDITIONAL INFORMATION
Works in previous version of RKWard (0.7.4).
Comment 1 Jan 2022-11-07 07:52:45 UTC
Created attachment 153539 [details]
Log: rkward.rbackend
Comment 2 Thomas Friedrichsmeier 2022-11-07 15:41:57 UTC
Thanks for reporting.

This was already fixed in the development version, shortly after 0.7.5 was released. You can try the daily builds for a fixed version: https://launchpad.net/~rkward-devel/+archive/ubuntu/rkward-kf5-daily-r40 (tomorrow's build will have a proper version number, too).