|Re: [hatari-devel] Screenshots are saved in Hatari installation directory|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Screenshots are saved in Hatari installation directory
- From: Bob Carpenter <hatari@xxxxxxxxxx>
- Date: Fri, 16 Feb 2018 17:47:40 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ripon89-us.20150623.gappssmtp.com; s=20150623; h=sender:from:content-transfer-encoding:mime-version:subject:date :references:to:in-reply-to:message-id; bh=EVmxKkFXdSJ+Gqo5IofQjSrEw//anGXOUoRst6sZ/eY=; b=nVzSkVTO/po6qBIMsZeSV3oK3cuRU7ATvPrBGmN9dhxXjfncUf2+aTKC9/WDD9w4By a01Go5Xwis9sTJq311uZmR1PUOWvkSLcs37xVjQxkN4yOmQlGbcqxqko3YxHl33TBJsY U4FakrH7/HSsFajfsHcMXZlTnFzQOs9VJB+dhNiC1c0QYcaaZKYT0jOTyLunbZ2mfZS7 VL5tJ9dlcIwBTHwmv9pM3p2UtjRPQHlGMXBHBTQgnOfkaXdfH/OeM7atrSAw8kMBbodD dlZikgknF9XgYg6XarRGox4U8sXAqNREQ0/3EPIlUDTZrjFE9syU2+kP0BeODA9Yfo7m fjag==
Yes, your screenshot capture change does work on macOS High Sierra. I tried three different screen capture directories and it worked each time. I had to reboot my Mac rather than simply log out in order for the change to take effect. From what I read, I should’ve been able to log out or use “killall SystemUIServer” from Terminal in order for the new preference to take effect, but it didn’t work for me.
I saw the known bug, but it sounds like you have already fixed that in a later version.
> On Feb 16, 2018, at 4:02 PM, Troed Sångberg <troed@xxxxxxxxxxx> wrote:
> Hi Anders,
> Thanks for testing :)
> There is a known bug in that test version, it will not advance grab0001 -> grab0002 etc. I hadn't switched out all calls to getworkingdir, now done.
> If it works for Bob with modified location preference I'll submit it as a patch. It was ... interesting, mixing C and Objective-C. Nicolas will have to scold me if my solution isn't clean enough ;)
> -------- Original Message --------
> On February 16, 2018 10:43 PM, Anders Eriksson <ae@xxxxxx> wrote:
>> I've tested this new macOS fix and it appears to work correctly, thanks!
>> It was a bit messy before screenshots, landed everywhere because I
>> sometime start Hatari with scripts, sometime not. More than often I just
>> took the macOS window-screenshot instead :)
>> Screen dump saved to: /Users/ae/Desktop/grab0001.png
>> And sorry I wasn't quick enough to test the release candidate build before
>> it was released, but it appears to work fine on my machines which are Mac
>> Pro 5.1 with High Sierra and Macbook Pro 15" non-retina with Sierra.
>> I could try to wake up the old 32-bit 2006 Macbook if really needed too.
>> Anders Eriksson
>> On Fri, 16 Feb 2018, Troed Sångberg wrote:
>>> Hi all,
>>> I have implemented this now and I'm testing it. Feel free to test it as well: https://troed.ddns.net/f/aa4c8be49ed14ef38e53/
>>> @David - on non-macOS this will not change the existing behaviour at all. On macOS it will either use the standard screenshot directory ~/Desktop or the one the user has selected instead through the official macOS preference plist.
>>> It will "break" the existing behaviour of saving screenshots to the Application/ directory on macOS, but that's clearly a bug from a macOS usage point of view and should be fixed instead of relied upon existing bad behaviour.
>>> PS: macOS caches the com.apple.screencapture.plist value if you override it and it has meant that my testing is a bit complicated. I don't want to log out and log in all the time .. so testing by others is very helpful.
>>> -------- Original Message --------
>>> On February 16, 2018 9:49 PM, Jérôme Vernet vernet.jerome@xxxxxxxxxx wrote:
>>>> Envoyé de mon iPhone
>>>>> Le 16 févr. 2018 à 21:10, David Savinkoff dsavnkff@xxxxxxxxx a
>>>>> Maybe the path should be in hatari.cfg (then it is configurable).
>>>>> Only if the change come from Hatari. I don't want to have to change something in Hatari sources for MacOSX.
>>>>> Or only if agreed by everyone.
>>>>> And don't break what already works for others.
>>>>> I think a user-friendly software package should be customised
>>>>> by the packager for a specific platform (customised hatari.cfg).
>>>>> No, bad idea. MacOSX specific part, if they exist, should only use MacOSX Default SDK, nothing specific to Mac in Hatari.cfg.