Big Sur unified toolbar -- how to ... NSWindow/NSToolbar - cocoa

How can I detect that NSWindow/NSToolbar is using an unified toolbar with the windowtitle in the toolbar ?
(true if bigsur running, Titlebar height of window ?) -- no good idea !
Most of all I would continue the catalina look with a windowtitlebar !
if I do [ window setWindowVisibility: NSWindowTileHidden ] I get a toolbar a bit cramped without windowtitle and text on the toolbar items.
anyone got some ideas ?
Software compiled under Catalina continues to keep their Catalina look running under BigSur, so on X86 I just can continue compiling on Catalina for a while !
But with ARM64 (aka m1) I have to fight the unified toolbar :)
/Alexis

Solved
[ window setToolbarStyle: NSWindowToolbarStyleExpanded ];
seem to fix it :)
/Alexis

Related

I cannot make spaces in RStudio / space key does not work

**I have a problem with RStudio: I cannot make spaces in RStudio or the space key does not work. The problem does not occur with the R program or with any other program on my computer, only with RStudio.
Instead of a space, it sometimes jumps back and forth between windows when the space key is pressed.
Here are the key data of my computer and an example of the problem as screenshot
...(see screenshot line #wirdüberschrieben#labelsBESSERziegtNICHTgewählteAUSPRÄGUNGEN-> I could not write it with spaces):
MacBook Pro (14", 2021)
macOS Monterey 12.0.1
R 4.1.3
Keyboard Language: German
Does anyone know the bug or how to fix it?
Thx in advance!!!
Bildschirmfoto 2022-04-11 um 12.00.22
Bildschirmfoto 2022-04-11 um 12.00.22
1500×114 29 KB
I guess you already found the solution after such a long while? This is not an RStudio issue. Try this: Go to "System preferences" > "Accessibility" > on the left, scroll down to "Keyboard" > untick "Enable Full Keyboard access".

Xcode 12 "show library" command no longer shows possible views to be added

I work on a SwiftUI iOS App
I use Version 12.4 (12D4e) of Xcode, and I have no longer the opportunity to pick up the possible "View" types to add in my views as before with the "Show Library" command (i.e. the "+" button, first one on top right)
Only the "Snippets", "Media" and "Color" buttons are visible
How could I restore the complete list of possibilities ?
Thanks for your help
PS: I tried to stop Xcode and to launch it again, this does not fix the issue...
The missing "Views" and "Modifiers" that were lacking in "Show Library" command came back after restarting my Mac...
So closing and launching Xcode was not sufficient.
Sorry to have disturb people for so little !

Werid behviour of cmd + tab on Mac OSX after upgrade to El Capitan

I have this weird problem, i often use cmd+tab to switch between opened applications. After upgrading my OS to El Capitan it started to behave weird. Sometimes it doesn't switch to last focused window but it switches to last application visible on that bar which is displayed after pressing this shortcut. It really freaks me out. Please help.
To explain this problem better i've recorded a video: https://www.youtube.com/watch?v=R6gKsCTLt00 when this bug occurs i stop for a while and point my cursor on the application item on that bar.
I have to mention than all this time i'm using cmd+tab only, without shift pressed.

IntelliJ 12 fullscreen mode yosemite

Trying to achieve something that should be quite easy, activating the full screen mode in intelliJ12 on a mac with Yosemite.
I can only maximise the windows (green window button with the +) but it's not running in full screen ( like any other app with the double arrow green button).
I have been searching quite a while for a solution, tested the shortcut cmd ctrl F did nothing and in view menu ain't got anything related to full screen.
Thanks in advance.
As far as I know, v12 doesn't support the OS X fullscreen feature, you have to upgrade to v13 at least.
If you wanna stay at the old version, just try this Fullscreen plugin, hope it works.

Prevent Java icon from popping up in dock

I am using Intellij IDEA on Mac OSX 10.9.2. Usually I have the IDE on another space, and I switch between both. The problem is that when I run something from the IDE, the Java icon pops up in the dock, switching the space automatically, so I have to switch back to the IDE each time this happens. It is really annoying.
Is there anyway to prevent this from happening? I have tried the "headless" option, but it doesn't work.
you should try right-clicking the icon in your dock and selecting "assign to both desktops" on the icon that's bugging you...
it should do the trick
BTW, this isn't a java question , it's a mac OSX question

Resources