Skip to content

NSButton Message in R.app

4 messages · Macdonald, Peter, Chacko, George, Simon Urbanek +1 more

#
I?m sorry I missed the earlier discussion; I only joined this mailing list on Dec 12. For what it?s worth, I recall observing the same problem on a 15 inch Macbook Pro running Catalina, that I no longer own. However, there were other problems of my own making with that particular machine, so I didn?t bring it up in my message.

Regards GC

From: "Macdonald, Peter" <pdmmac at mcmaster.ca>
Date: Monday, December 14, 2020 at 6:14 PM
To: "Chacko, George" <chackoge at illinois.edu>
Cc: r-sig-mac <r-sig-mac at r-project.org>
Subject: Re: [R-SIG-Mac] NSButton Message in R.app

We discussed this in r-sig-mac a couple of weeks ago but the thread got hijacked by unrelated Big Sur issues and I don?t think this problem was ever resolved.

It seems to be an issue with R GUI and MacBook Pro. It arose with the final versions of Catalina and continued with Big Sur on my 15 inch 2018 MacBook Pro. The error is generated whenever the GUI uses the Touch Bar.

The Touch Bar works correctly despite and I?ve seen no other consequences.

I was going to bring this up again, thanks for saving me the trouble!

Hoping that an R GUI developer can fix it?

Thanks,
Peter

--
Peter D.M. Macdonald, D.Phil., P.Stat.
Professor Emeritus of Math & Statistics
McMaster University
Hamilton, Ontario, Canada L8S 4K1
On Dec 14, 2020, at 6:43 PM, Chacko, George <chackoge at illinois.edu<mailto:chackoge at illinois.edu>> wrote:
Hello all:

My apologies if I?m not providing this information in a useful manner, I?m new to this list. I?d be happy to revise this message for greater clarity with a little advice from the list. After upgrading to Big Sur on a 16 inch Macbook Pro, I?ve noticed an NSButton warning message. Reinstalling R hasn?t helped. Thanks for any advice. George Chacko


 1.  when R.app is started up

2020-12-14 09:24:32.330 R[30638:726731] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f88ada8cb50>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.


 1.  Once R is running, if I use Command-W to exit and then hit cancel, 5 copies of this message are printed on screen.

2020-12-14 09:25:25.900 R[30638:726731] Warning: Expected min height of view: (<NSButton: 0x7f88abe4ed20>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-12-14 09:25:25.904 R[30638:726731] Warning: Expected min height of view: (<NSButton: 0x7f88abe7f670>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-12-14 09:25:25.904 R[30638:726731] Warning: Expected min height of view: (<NSButton: 0x7f88abe60e60>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-12-14 09:25:27.513 R[30638:726731] Warning: Expected min height of view: (<NSButton: 0x7f88adb30cd0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-12-14 09:25:27.516 R[30638:726731] Warning: Expected min height of view: (<NSButton: 0x7f88adb74160>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-12-14 09:25:27.517 R[30638:726731] Warning: Expected min height of view: (<NSButton: 0x7f88adb73c80>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.





utils::sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

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


Model Name:                                  MacBook Pro

 Model Identifier:                           MacBookPro16,1

 Processor Name:                         8-Core Intel Core i9

 Processor Speed:                        2.3 GHz

 Number of Processors:                1

 Total Number of Cores:               8

 L2 Cache (per Core):                    256 KB

 L3 Cache:                                     16 MB

 Hyper-Threading Technology:    Enabled

 Memory:                                        32 GB

 System Firmware Version:          1554.50.3.0.0 (iBridge: 18.16.12561.0.0,0)

 Serial Number (system):              C02DM3MVMD6T

 Hardware UUID:                           4A8B6D86-683A-5ED1-A229-BD6147F02F11

 Provisioning UDID:                       4A8B6D86-683A-5ED1-A229-BD6147F02F11

 Activation Lock Status:                Disabled






_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org<mailto:R-SIG-Mac at r-project.org>
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
#
Unfortunately, I don't have a Mac with a touch bar to replicate it, I'll see if there is any other way to test it. The GUI doesn't actually use the touch bar, so it's not clear where that message comes from. It seems like just a benign output from the system - it doesn't really affect any functionality, but if it annoys you, you can disable it until we find out more - see R for Mac FAQ 10.4.

Cheers,
Simon
1 day later
#
It seems that there are other projects having the same issue, and if I understood correctly the ?fix? would be to build it with latest Xcode 12 


For example:

https://github.com/macvim-dev/macvim/issues/1114 <https://github.com/macvim-dev/macvim/issues/1114>

Best, 

Taras