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

RGtk2_2.20.1 breaks playwith #69

Closed
GoogleCodeExporter opened this issue Apr 6, 2016 · 4 comments
Closed

RGtk2_2.20.1 breaks playwith #69

GoogleCodeExporter opened this issue Apr 6, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. install RGtk2_2.20.1
2. require(playwith)
3. playwith(plot(1:10))

What is the expected output? What do you see instead?
Playwith starts unexpectedly without the left-hand panel. It also outputs these 
warnings:
> playwith(plot(1:10))
/usr/share/themes/MurrinaAquaIsh/gtk-2.0/gtkrc:50: Murrine configuration option 
"scrollbar_color" is no longer supported and will be ignored.
Warning messages:
1: 'method' is deprecated.
Use ''gtk-enable-tooltips' property on GtkSettings' instead.
See help("Deprecated") and help("RGtk2-deprecated"). 
2: 'method' is deprecated.
Use ''gtk-enable-tooltips' property on GtkSettings' instead.
See help("Deprecated") and help("RGtk2-deprecated"). 
3: 'method' is deprecated.
Use ''gtk-enable-tooltips' property on GtkSettings' instead.
See help("Deprecated") and help("RGtk2-deprecated"). 
4: 'method' is deprecated.
Use ''gtk-enable-tooltips' property on GtkSettings' instead.
See help("Deprecated") and help("RGtk2-deprecated"). 
5: 'method' is deprecated.
Use ''gtk-enable-tooltips' property on GtkSettings' instead.
See help("Deprecated") and help("RGtk2-deprecated"). 



What version of the product are you using? On what operating system?
I'm using bleeding-edge SVN r156 of gWidgets. 
> sessionInfo()
R version 2.11.1 (2010-05-31) 
x86_64-pc-linux-gnu 

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

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

other attached packages:
[1] playwith_0.9-52      gWidgetsRGtk2_0.0-69 gWidgets_0.0-43     
[4] cairoDevice_2.14     lattice_0.19-13     

loaded via a namespace (and not attached):
[1] gridBase_0.4-3 RGtk2_2.20.1   tools_2.11.1  


Please provide any additional information below.
Some tools don't seem to work anymore. For example, trying to use navigation 
results in 
(R:1751): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion `width > 0' failed
Error in handleClickOrDrag(playState$widgets$drawingArea, x0 = x0, y0 = y0,  : 
  Could not make pixbuf



Original issue reported on code.google.com by landroni...@gmail.com on 6 Nov 2010 at 9:36

Attachments:

@GoogleCodeExporter
Copy link
Author

The issue persists with RGtk2_2.20.3

> sessionInfo()
R version 2.11.1 (2010-05-31) 
x86_64-pc-linux-gnu 

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

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

other attached packages:
[1] playwith_0.9-52      gWidgetsRGtk2_0.0-69 gWidgets_0.0-43     
[4] cairoDevice_2.14     lattice_0.19-13      fortunes_1.4-0      
[7] IPSUR_1.1           

loaded via a namespace (and not attached):
[1] gridBase_0.4-3 RGtk2_2.20.3   tools_2.11.1  

Original comment by landroni...@gmail.com on 7 Nov 2010 at 9:09

@GoogleCodeExporter
Copy link
Author

OK, thanks, I have been away but will look into fixing it tomorrow. -Felix

Original comment by foolish.android on 8 Nov 2010 at 2:47

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

I've resolved the problem and uploaded v 0.9-53 to the CRAN queue.

The problem appeared because the return value of gtkWidgetGetAllocation() 
changed in RGtk2 version 2.20.

Original comment by foolish.android on 9 Nov 2010 at 12:50

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Yes, seems to work now. Thanks

Original comment by landroni...@gmail.com on 9 Nov 2010 at 7:12

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

No branches or pull requests

1 participant