Closed perez987 closed 1 year ago
@perez987
Hi Yes you're right, but It happens only with en.lproj/Main.storyboard not with fr.lproj/Main.storyboard.
With a small modification in en.lproj/Main.storyboard the result is
@0xCUB3 (en.lproj/Main.storyboard need to be modified and project too (fr.lproj/Main.storyboard is not activated (not added)) Modification is : to put Push Button Display Preferences... at the end of the list (and Displays at top) placed on the middle "Push Button Display Preferences..." seems to be inhibited by "Display Name Center" area
Regards
@matxpa You are right. Moving Display Preferences item to the end of the list fixes the issue. In your enroll version the item is in last place. In the Slice fork it is in second to last place. That's why the issue was not present in both repos. About Display Name Center, the only requirement I have seen is that it be before Display Preferences. Thanks!!!
Closing the issue as resolved.
Good morning. I've tried last commit 2b04e7c and noticed that the Display Preferences button does nothing. No lines in the debug console when clicking it.
The command
open /System/Library/PreferencePanes/Displays.prefPane
in Terminal works. It's the command saved as displayPrefPane variablestatic var displayPrefPane = "/System/Library/PreferencePanes/Displays.prefPane"
and called in ViewControllerDisplays.swift@matxpa fork has the same behaviour. However, Slice's fork opens Display Preferences as expected.