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
Rstudio desktop free preview 1.2.1329 - can't select text in editor window #4488
Comments
|
I just installed 1.2.1329 (Bionic) on a clean install of Bionic + r-base, and am able to select text in the editor via click-drag, double-click, and so on. So something else is going on here. |
|
Any suggestions what I might try to do to investigate this? (Although I am
mid-project and behind-deadline at the moment, so ...)
…On Thu, 21 Mar 2019 at 11:05, Gary ***@***.***> wrote:
I just installed 1.2.1329 (Bionic) on a clean install of Bionic + r_base,
and am able to select text in the editor via click-drag, double-click, and
so on.
So something else is going on here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4488 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFKJG59lnV9pOCnQwrWybrC46XcyN_W5ks5vYszQgaJpZM4cAc60>
.
|
|
I recommend posting what you've encountered on the community page and see if anybody else reports the same. That might give us more data to work with in understanding what you are experiencing. https://community.rstudio.com/c/rstudio-ide |
|
Thanks. Will do.
…On Thu, 21 Mar 2019 at 14:31, Gary ***@***.***> wrote:
I recommend posting what you've encountered on the community page and see
if anybody else reports the same. That might give us more data to work with
in understanding what you are experiencing.
https://community.rstudio.com/c/rstudio-ide
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4488 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFKJG6Sgt8970crWUewvt_3srd1tQ7KTks5vYv0jgaJpZM4cAc60>
.
|
|
I have just reproduced the problem on a different computer running Ubuntu 18.04. The two computers showing the same problem are not identically configured, but I do generally install the same things on both - so there may be something relatively uncommon that I am doing on both that interacts with whatever changed between 1.2.1327 and 1.2.1329 |
|
Which keybinding are you using for the editor? E.g. Default, Vim, Emacs, Sublime Text. Does this problem only happen in the editor pane? How about the Console? Reproduce the problem again, then |
|
There were 3 changes made between 1.2.1327 and 1.2.1329. Two of them are related to using themes. What theme do you have selected in Tools / Global Options / Appearance? I've got the default selected (Textmate). If you've got a different one, does the problem still happen if you switch back to Textmate? The other change would prevent saving a file if you did |
|
FYI, I also tried installing 1.2.1327, using it a bit, then uninstalling it and installing 1.2.1329 and it still worked (selection-wise). |
|
I think I am seeing the same thing. I updated to the preview yesterday (from either 1.2.1300 or 1.2.1320, not sure which I was running) and now find my IDE in a state where no syntax highlighting works and text selections are impossible! Here's a video: The only thing I see in the JS console is this: Interestingly, if I switch to another theme (I tried "Solarized Dark") then everything works fine. If I think explicitly switch back to TextMate, everything works fine (and there is no error in the JS console when I do a reload). So something to do with having no theme explicitly set in preferences? Maybe this commit from 8 days ago: 8c9a28e |
|
It might be related to this older commit: eafd6b7#diff-ecbf3c3e6509a5a8a5a76289bbd60514 It looks like we previously expected / used leading slashes in the theme URLs, and have since removed them. However, I suspect the saved URLs might still contain these leading slashes, and so when these old themes get used the issue comes up. @rgayler, can you confirm whether changing the editor theme fixes the issue for you? |
|
That's almost surely a v1.3-ism. Ace has some code that tries to auto-load the textmate theme on startup that took some work to cauterize in v1.2; I expect we'll need the same in v1.3 (and I recall seeing some updates on the Ace side around how themes were loaded) |
|
Yes, I've only been able to repro with 1.3. Opening a separate issue to track that one. #4504 |
That's very possible. I was able to reproduce @jjallaire's issue by hand-modifying my |
|
I've got the following repro steps:
The issue does indeed resolve after changing the theme a second time. On our side, I think the simplest fix is to just trim out a potential leading slash here: Lines 60 to 63 in eb68de9
|
|
I was also able to repro this by hand-editing the @MariaSemple, what do you think about making a change here for 1.2? |
|
Should be fixed by #4506 (note: merged to patch branch so not yet part of a public build) |
|
My apologies for not responding earlier - I have been unavailable all week
…On Thu, 28 Mar 2019 at 09:36, Jonathan ***@***.***> wrote:
Closed #4488 <#4488>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4488 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFKJG-L-V9AQNAX2fiRcuJqEi_W04ye7ks5va_JogaJpZM4cAc60>
.
|
|
Verified in RStudio Desktop 1.2.1539 on MacOS 10.14.6 and Ubuntu 18.04.2. |





I just upgraded from 1.2.1327 to 1.2.1329 and can no longer select text in (at least) the editor window. Click-drag does not select text. Double-click does not select text. Editing is almost unusable.
The behaviour survived a restart of Rstudio and a reboot of the computer. Other programs were fine.
I reverted to 1.2.1327 and the problem disappeared.
I am running the Ubuntu 18+ versions of Rstudio.
My computer is running Ubuntu 18.04 4-bit.
The text was updated successfully, but these errors were encountered: