Re: Confusion with app settings / NSUserDefaults

2023-08-15 Thread Gabriel Zachmann via Cocoa-dev
Right, that makes sense, in particular with Saga's insights in mind.

> Use the commend “defaults delete de.zach.ArtSaverApp” to delete all your 
> prefs.  That should remove them everywhere.
>





smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Confusion with app settings / NSUserDefaults

2023-08-15 Thread Gabriel Zachmann via Cocoa-dev
Ah, thanks a lot for the insights!

Could it happen that the new settings have not been written to disk even if the 
app has quit normally?
Or, in other words, there might be key/value pairs stored in cfprefsd's 
internal/runtime storage, even if i have changed the app and those key/value 
pairs do no loner correspond to any of the app's settings?

Best regards, Gabriel



> On 6. Aug 2023, at 12:57, Saagar Jha  wrote:
>
> The plist file on disk is written to sporadically. cfprefsd is generally the 
> arbiter what the real values are, and it may or may not write things to disk 
> immediately. Conversely, it’s not necessarily sitting around watching the 
> plist file for changes. The correct way to update user defaults in an ad-hoc 
> fashion is to use the defaults command.
>



smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Full-screen not working

2023-08-15 Thread Gabriel Zachmann via Cocoa-dev
I can try that , but I would have no idea what to look for.

Is there any known reasons why a toggleFullScreen call might not send the 
window to full-screen?





smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Full-screen not working

2023-08-15 Thread Gabriel Zachmann via Cocoa-dev
> I have tested this on 1, 2 and 3 display systems over a month ago.  There 
> appears to be a 1/2 hour delay (or so) before it takes over and is full 
> screen.

Very strange - how could that be?

> Greetings from the deepest darkest jungles of suburban Windhoek.

Happy safari!

Best regards, Gabriel



smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Full-screen not working

2023-08-15 Thread Gary L. Wade via Cocoa-dev
I would suggest asking your user for a system report or sysdiagnose.  It might 
glean some details about their environment.
--
Gary

> On Aug 15, 2023, at 3:30 AM, Gabriel Zachmann via Cocoa-dev 
>  wrote:
> 
> I have one user of my macOS app (under macOS 13.4.1) 
> where the app does not want to go into full-screen mode.
> 
> It is a pretty plain app.
> 
> In the AppDelegate's method -applicationWillFinishLaunching,
> I switch to full screen like this:
> 
>   [self.window toggleFullScreen: nil];  
> 
> It works, of course, all the time on my Mac; 
> also, as far as I know, there is only one user where it does not work.
> 
> After toggleFullScreen, I could check if the window is in full-screen, but I 
> don't see I would gain anything from that.
> The toggleFullScreen does not seem to provide any error value.
> 
> I have already googled, but it seems like what that user reports does not 
> happen anywhere else.
> 
> Is there anything that could prevent a window from going into fullscreen mode?
> 
> Best regards, Gabriel

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Full-screen not working

2023-08-15 Thread Alex Zavatone via Cocoa-dev
I have tested this on 1, 2 and 3 display systems over a month ago.  There 
appears to be a 1/2 hour delay (or so) before it takes over and is full screen. 
 Sorry, I can’t help more at the moment.  Greetings from the deepest darkest 
jungles of suburban Windhoek.

Alex Zavatone

Sent from my damn pain in the ass iPhone.

> On Aug 15, 2023, at 12:31, Gabriel Zachmann via Cocoa-dev 
>  wrote:
> 
> I have one user of my macOS app (under macOS 13.4.1) 
> where the app does not want to go into full-screen mode.
> 
> It is a pretty plain app.
> 
> In the AppDelegate's method -applicationWillFinishLaunching,
> I switch to full screen like this:
> 
>   [self.window toggleFullScreen: nil];  
> 
> It works, of course, all the time on my Mac; 
> also, as far as I know, there is only one user where it does not work.
> 
> After toggleFullScreen, I could check if the window is in full-screen, but I 
> don't see I would gain anything from that.
> The toggleFullScreen does not seem to provide any error value.
> 
> I have already googled, but it seems like what that user reports does not 
> happen anywhere else.
> 
> Is there anything that could prevent a window from going into fullscreen mode?
> 
> Best regards, Gabriel
> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
> 
> This email sent to z...@mac.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Full-screen not working

2023-08-15 Thread Gabriel Zachmann via Cocoa-dev
I have one user of my macOS app (under macOS 13.4.1)
where the app does not want to go into full-screen mode.

It is a pretty plain app.

In the AppDelegate's method -applicationWillFinishLaunching,
I switch to full screen like this:

   [self.window toggleFullScreen: nil];

It works, of course, all the time on my Mac;
also, as far as I know, there is only one user where it does not work.

After toggleFullScreen, I could check if the window is in full-screen, but I 
don't see I would gain anything from that.
The toggleFullScreen does not seem to provide any error value.

I have already googled, but it seems like what that user reports does not 
happen anywhere else.

Is there anything that could prevent a window from going into fullscreen mode?

Best regards, Gabriel



smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com