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

Pane Layout resetting #2101

Closed
CasperTollefsen opened this issue Feb 1, 2018 · 18 comments · Fixed by #4502
Closed

Pane Layout resetting #2101

CasperTollefsen opened this issue Feb 1, 2018 · 18 comments · Fixed by #4502
Assignees
Labels
Milestone

Comments

@CasperTollefsen
Copy link

@CasperTollefsen CasperTollefsen commented Feb 1, 2018

System details

RStudio Edition : Desktop
RStudio Version : 1.1.419
OS Version      : macOS High Sierra 10.13.3
R Version       : 3.4.3

Steps to reproduce the problem

Go to Pane Layout in Options and move Source and Console to the right side. Press Apply, then OK. When out of the Options menu, go back into Pane Layout and press some of the checkboxes. Now press Apply and OK.

Describe the problem in detail

I had a fresh install of both R and RStudio, and so I went on to rearrange the workspace to my liking. However when I went on to change the pane layout in the Options menu, I found that the layout would reset to default when applying changes multiple times. I'm not talking about pressing the Apply button multiple times in sucsession but changing settings, then going back to to make minor changes like moving Plots pane from top-left to bottom-left.

Describe the behavior you expected

The pane layout should be editable without resetting itself.

Session info

R version 3.4.3 (2017-11-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.3

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] C

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

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

@ronblum
Copy link
Contributor

@ronblum ronblum commented Feb 9, 2018

@CasperTollefsen Thank you for the bug report. I am in unable to reproduce it 10.13.3, so we may need additional information when we review the issue further.

@CasperTollefsen
Copy link
Author

@CasperTollefsen CasperTollefsen commented Feb 10, 2018

@dfalty
Copy link

@dfalty dfalty commented Feb 12, 2018

Closing this out as not reproducible but have no regrets @CasperTollefsen! It's valuable to have these types of issues in our issue tracker in case others are able to reproduce and add additional info so we can come to a resolution.

Thanks for the kind words!

@dfalty dfalty closed this as completed Feb 12, 2018
@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Feb 12, 2018

What you might have seen is an issue where changing the pane layout such that the Viewer pane lives in an alternate tabset fails. To reproduce, you can try clicking the checkbox next to 'Viewer' in the Options -> Pane Layout dialog, and then apply the style. This will succeed, but if you then restart the IDE, the layout changes will be lost and the IDE will revert to the default layout.

@kevinushey kevinushey reopened this Mar 25, 2018
@yihui
Copy link
Member

@yihui yihui commented May 2, 2018

I think I have observed the same problem in the daily build for a few days, and the problem is still there with today's 1.2.603. The pane layout either cannot be changed at all (the "Saving" spinner stays there forever), or will be reset (lost) after I restart RStudio.

screen shot 2018-05-02 at 5 02 59 pm

@rstudio-build
Copy link

@rstudio-build rstudio-build commented May 2, 2018

@yihui
Copy link
Member

@yihui yihui commented May 3, 2018

Spot on! If I uncheck Jobs, the layout could be saved, and is not lost when I restart RStudio.

@MariaSemple
Copy link
Collaborator

@MariaSemple MariaSemple commented Jun 21, 2018

I am able to reproduce this by selecting only one tab in one of the multi-tab quadrants and putting all the rest in the other. Here's a few examples where the layout will be reset after hitting apply:
FilesBottomRight
historybottomleft
mylayout

Here's some examples that work as expected:
mylayoutworks
viewerbottomleft

When the layout resets, the configuration in the preferences pane doesn't update until you exit the preference pane and reenter it. After you do, this is the configuration you get:
reset

I'm on 1.2 but I haven't merged from master since the jobs pane was added.

@lukaskawerau
Copy link

@lukaskawerau lukaskawerau commented Mar 23, 2019

I see the same behavior that @MariaSemple has documented.
I find this to be very annoying and would love a fix for this.

@julianhatwell
Copy link

@julianhatwell julianhatwell commented Jul 28, 2019

I have this problem all the time. I have not been able to set the panes to my liking for a couple of years now. It used to work fine many, many versions ago, sorry can't remember it was so far back. I have just changed from a windows to a Linux and was hoping that this issue would not exist on a completely different OS, but in fact it does. Let me know what information you need, but basically, I can set the panes any which way I like but if I close the session and start RStudio again, the panes have returned to the defaults. This has now happened on two windows machines in the last 3 years, and a new Linux machine most recently.

@gtritchie
Copy link
Member

@gtritchie gtritchie commented Jul 28, 2019

@julianhatwell Have you tried RStudio 1.2 preview release, where this issue (at least the issue we know about) was fixed? https://www.rstudio.com/products/rstudio/download/preview/

@julianhatwell
Copy link

@julianhatwell julianhatwell commented Jul 28, 2019

My version is 1.2.1335 - I'll give your new one a go.

@gtritchie
Copy link
Member

@gtritchie gtritchie commented Jul 28, 2019

The preview is currently at v1.2.1564-2. This particular issue was fixed after 1.2.1335, so hopefully will work for you after you upgrade. Eventually (“soon”) the official 1.2 release will be updated to a newer version containing this fix (and several others).

@ronblum ronblum self-assigned this Jul 29, 2019
@julianhatwell
Copy link

@julianhatwell julianhatwell commented Jul 30, 2019

I'm running Ubuntu 19.04 - is it supported yet in the preview release? If not, I will wait until the stable release.

@ronblum
Copy link
Contributor

@ronblum ronblum commented Jul 30, 2019

@julianhatwell No, we don't support Ubuntu 19.04, since it's not LTS. The latest version of Ubuntu that we support is 18.04.2. Although if you run into issues, filing them would be helpful, since some stuff might also be an issue in 18.04.x, and it'll also prepare us for changes in 20.04.

@ronblum
Copy link
Contributor

@ronblum ronblum commented Jul 31, 2019

Confirmed with RStudio Desktop 1.2.1564 on MacOS 0.15 (Catalina).

@julianhatwell If 1.2.1335 works on Ubuntu 19.04, it's quite possible that the 1.2 preview build (meant for testing purposes only) will, as well. But no guarantees—proceed with caution! :)

@julianhatwell
Copy link

@julianhatwell julianhatwell commented Jul 31, 2019

That seems to fix the problem! If I have any problems with the software I will let you know in a new issue.

@ronblum
Copy link
Contributor

@ronblum ronblum commented Aug 1, 2019

@julianhatwell Thank you for checking! It's always helpful to have someone at the vanguard of trying out new operating systems.

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

Successfully merging a pull request may close this issue.

10 participants