You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2014/12/11 09:46:02 UTC

AIR app.xml

Please forgive my question if it’s a dumb one, but I did not find this info on a casual search…

When a new project is created, where does the app.xml file come from? Is that something controlled by the AIR package, Flash Builder, or Flex?

The primary reason I’m asking this question is because the default value of requestedDisplayResolution does not make sense to me. The default is “standard”, but that makes for very blurry apps on Retina screens. I can’t imagine why you’d want to create an app that does not look right on a HIDPI screen. Someone on the user list suggested that “high” uses more GPU. I’d like to confirm that, but even if it’s true, I can’t imagine that makes such a difference for 99% of apps. If we can switch that default to “high”, I think that’s something we should do…

Harbs

Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
I’m discussing Mac desktop, but there’s also a setting for iOS.

AFAIK, this setting does not affect Windows or Linux at all.

On Dec 11, 2014, at 12:29 PM, aYo ~ <ay...@binitie.com> wrote:

> Ah is this an IOS centric default? I am a Windows and Linux man, never used
> a Mac and never developed for any Apple platform
> On 11 Dec 2014 11:22, "Harbs" <ha...@gmail.com> wrote:
> 
>> Any app run on a retina Mac needs it to be high. The average developer
>> will probably not know that (and might not even have a retina Mac to test
>> it on). I’m not aware of any real problems with making it high by default.
>> (If I’m wrong here, I’d really like to be corrected.)
>> 
>> These seem like pretty good reasons to me to change the default setting in
>> the template to “high”.
>> 
>> On Dec 11, 2014, at 12:15 PM, aYo ~ <ay...@binitie.com> wrote:
>> 
>>> No objections on my part, but does it need to be changed?
>>> On 11 Dec 2014 10:23, "Harbs" <ha...@gmail.com> wrote:
>>> 
>>>> I just confirmed that the template used is the one in the built SDK
>> here:
>>>> [SDK]/templates/air/descriptor-template.xml
>>>> 
>>>> A made a change to one of the comments, and the change was reflected in
>>>> the app.xml of a new project.
>>>> 
>>>> I have not studied the build scripts, but it seems like a fair
>> assumption
>>>> that the file comes from
>>>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
>>>> 
>>>> Does anyone have an objection to me changing the default there?
>>>> 
>>>> On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:
>>>> 
>>>>> I think I found a template here
>>>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I
>>>> don’t know if that’s the one which is actually used…
>>>> 
>>>> 
>> 
>> 


Re: AIR app.xml

Posted by aYo ~ <ay...@binitie.com>.
Ah is this an IOS centric default? I am a Windows and Linux man, never used
a Mac and never developed for any Apple platform
On 11 Dec 2014 11:22, "Harbs" <ha...@gmail.com> wrote:

> Any app run on a retina Mac needs it to be high. The average developer
> will probably not know that (and might not even have a retina Mac to test
> it on). I’m not aware of any real problems with making it high by default.
> (If I’m wrong here, I’d really like to be corrected.)
>
> These seem like pretty good reasons to me to change the default setting in
> the template to “high”.
>
> On Dec 11, 2014, at 12:15 PM, aYo ~ <ay...@binitie.com> wrote:
>
> > No objections on my part, but does it need to be changed?
> > On 11 Dec 2014 10:23, "Harbs" <ha...@gmail.com> wrote:
> >
> >> I just confirmed that the template used is the one in the built SDK
> here:
> >> [SDK]/templates/air/descriptor-template.xml
> >>
> >> A made a change to one of the comments, and the change was reflected in
> >> the app.xml of a new project.
> >>
> >> I have not studied the build scripts, but it seems like a fair
> assumption
> >> that the file comes from
> >> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
> >>
> >> Does anyone have an objection to me changing the default there?
> >>
> >> On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:
> >>
> >>> I think I found a template here
> >> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I
> >> don’t know if that’s the one which is actually used…
> >>
> >>
>
>

Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
To be clear: I’m talking about the requestedDisplayResolution inside the initialWindow tag. This one is for desktop apps.

There’s another one inside the iPhone tag which I am not discussing.

On Dec 11, 2014, at 12:20 PM, Harbs <ha...@gmail.com> wrote:

> Any app run on a retina Mac needs it to be high. The average developer will probably not know that (and might not even have a retina Mac to test it on). I’m not aware of any real problems with making it high by default. (If I’m wrong here, I’d really like to be corrected.)
> 
> These seem like pretty good reasons to me to change the default setting in the template to “high”.
> 
> On Dec 11, 2014, at 12:15 PM, aYo ~ <ay...@binitie.com> wrote:
> 
>> No objections on my part, but does it need to be changed?
>> On 11 Dec 2014 10:23, "Harbs" <ha...@gmail.com> wrote:
>> 
>>> I just confirmed that the template used is the one in the built SDK here:
>>> [SDK]/templates/air/descriptor-template.xml
>>> 
>>> A made a change to one of the comments, and the change was reflected in
>>> the app.xml of a new project.
>>> 
>>> I have not studied the build scripts, but it seems like a fair assumption
>>> that the file comes from
>>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
>>> 
>>> Does anyone have an objection to me changing the default there?
>>> 
>>> On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:
>>> 
>>>> I think I found a template here
>>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I
>>> don’t know if that’s the one which is actually used…
>>> 
>>> 
> 


Re: AIR app.xml

Posted by aYo ~ <ay...@binitie.com>.
as long as the high setting is cross platform happy, I see no objection on
my part to the change
On 11 Dec 2014 11:22, "Harbs" <ha...@gmail.com> wrote:

> Any app run on a retina Mac needs it to be high. The average developer
> will probably not know that (and might not even have a retina Mac to test
> it on). I’m not aware of any real problems with making it high by default.
> (If I’m wrong here, I’d really like to be corrected.)
>
> These seem like pretty good reasons to me to change the default setting in
> the template to “high”.
>
> On Dec 11, 2014, at 12:15 PM, aYo ~ <ay...@binitie.com> wrote:
>
> > No objections on my part, but does it need to be changed?
> > On 11 Dec 2014 10:23, "Harbs" <ha...@gmail.com> wrote:
> >
> >> I just confirmed that the template used is the one in the built SDK
> here:
> >> [SDK]/templates/air/descriptor-template.xml
> >>
> >> A made a change to one of the comments, and the change was reflected in
> >> the app.xml of a new project.
> >>
> >> I have not studied the build scripts, but it seems like a fair
> assumption
> >> that the file comes from
> >> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
> >>
> >> Does anyone have an objection to me changing the default there?
> >>
> >> On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:
> >>
> >>> I think I found a template here
> >> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I
> >> don’t know if that’s the one which is actually used…
> >>
> >>
>
>

Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
Not that I know of, but I am not familiar with the inner workings here…

On Dec 11, 2014, at 12:30 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:

> Isn't there an 'auto-high' maybe. Some possible setting that is 'intelligent'?


Re: AIR app.xml

Posted by Erik de Bruin <er...@ixsoftware.nl>.
+1 on 'high' - but hey, I'm Dutch, that's our default anyway :-P

Unless there are serious performance issues. Isn't there an
'auto-high' maybe. Some possible setting that is 'intelligent'?

EdB



On Thu, Dec 11, 2014 at 11:20 AM, Harbs <ha...@gmail.com> wrote:
> Any app run on a retina Mac needs it to be high. The average developer will probably not know that (and might not even have a retina Mac to test it on). I’m not aware of any real problems with making it high by default. (If I’m wrong here, I’d really like to be corrected.)
>
> These seem like pretty good reasons to me to change the default setting in the template to “high”.
>
> On Dec 11, 2014, at 12:15 PM, aYo ~ <ay...@binitie.com> wrote:
>
>> No objections on my part, but does it need to be changed?
>> On 11 Dec 2014 10:23, "Harbs" <ha...@gmail.com> wrote:
>>
>>> I just confirmed that the template used is the one in the built SDK here:
>>> [SDK]/templates/air/descriptor-template.xml
>>>
>>> A made a change to one of the comments, and the change was reflected in
>>> the app.xml of a new project.
>>>
>>> I have not studied the build scripts, but it seems like a fair assumption
>>> that the file comes from
>>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
>>>
>>> Does anyone have an objection to me changing the default there?
>>>
>>> On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:
>>>
>>>> I think I found a template here
>>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I
>>> don’t know if that’s the one which is actually used…
>>>
>>>
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
Any app run on a retina Mac needs it to be high. The average developer will probably not know that (and might not even have a retina Mac to test it on). I’m not aware of any real problems with making it high by default. (If I’m wrong here, I’d really like to be corrected.)

These seem like pretty good reasons to me to change the default setting in the template to “high”.

On Dec 11, 2014, at 12:15 PM, aYo ~ <ay...@binitie.com> wrote:

> No objections on my part, but does it need to be changed?
> On 11 Dec 2014 10:23, "Harbs" <ha...@gmail.com> wrote:
> 
>> I just confirmed that the template used is the one in the built SDK here:
>> [SDK]/templates/air/descriptor-template.xml
>> 
>> A made a change to one of the comments, and the change was reflected in
>> the app.xml of a new project.
>> 
>> I have not studied the build scripts, but it seems like a fair assumption
>> that the file comes from
>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
>> 
>> Does anyone have an objection to me changing the default there?
>> 
>> On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:
>> 
>>> I think I found a template here
>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I
>> don’t know if that’s the one which is actually used…
>> 
>> 


Re: AIR app.xml

Posted by aYo ~ <ay...@binitie.com>.
No objections on my part, but does it need to be changed?
On 11 Dec 2014 10:23, "Harbs" <ha...@gmail.com> wrote:

> I just confirmed that the template used is the one in the built SDK here:
> [SDK]/templates/air/descriptor-template.xml
>
> A made a change to one of the comments, and the change was reflected in
> the app.xml of a new project.
>
> I have not studied the build scripts, but it seems like a fair assumption
> that the file comes from
> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
>
> Does anyone have an objection to me changing the default there?
>
> On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:
>
> > I think I found a template here
> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I
> don’t know if that’s the one which is actually used…
>
>

Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
I just confirmed that the template used is the one in the built SDK here: [SDK]/templates/air/descriptor-template.xml

A made a change to one of the comments, and the change was reflected in the app.xml of a new project.

I have not studied the build scripts, but it seems like a fair assumption that the file comes from frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml

Does anyone have an objection to me changing the default there?

On Dec 11, 2014, at 11:02 AM, Harbs <ha...@gmail.com> wrote:

> I think I found a template here frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I don’t know if that’s the one which is actually used…


Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
MacBook Pro 15 inch Retina Display.

I think I found a template here frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml, but I don’t know if that’s the one which is actually used…

On Dec 11, 2014, at 10:58 AM, OmPrakash Muppirala <bi...@gmail.com> wrote:

> On Dec 11, 2014 12:46 AM, "Harbs" <ha...@gmail.com> wrote:
>> 
>> Please forgive my question if it’s a dumb one, but I did not find this
> info on a casual search…
>> 
>> When a new project is created, where does the app.xml file come from? Is
> that something controlled by the AIR package, Flash Builder, or Flex?
>> 
>> The primary reason I’m asking this question is because the default value
> of requestedDisplayResolution does not make sense to me. The default is
> “standard”, but that makes for very blurry apps on Retina screens. I can’t
> imagine why you’d want to create an app that does not look right on a HIDPI
> screen. Someone on the user list suggested that “high” uses more GPU. I’d
> like to confirm that, but even if it’s true, I can’t imagine that makes
> such a difference for 99% of apps. If we can switch that default to “high”,
> I think that’s something we should do…
>> 
> 
> Flash Builder creates this file when the project is created.  And I believe
> it comes from a template from the AIR SDK.  If that is indeed the case, I
> don't we can modify it.
> 
> I have not seen this blurryness your are encountering.  What device are you
> using to test the app?
> 
> Thanks,
> Om


Re: AIR app.xml

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Dec 11, 2014 12:46 AM, "Harbs" <ha...@gmail.com> wrote:
>
> Please forgive my question if it’s a dumb one, but I did not find this
info on a casual search…
>
> When a new project is created, where does the app.xml file come from? Is
that something controlled by the AIR package, Flash Builder, or Flex?
>
> The primary reason I’m asking this question is because the default value
of requestedDisplayResolution does not make sense to me. The default is
“standard”, but that makes for very blurry apps on Retina screens. I can’t
imagine why you’d want to create an app that does not look right on a HIDPI
screen. Someone on the user list suggested that “high” uses more GPU. I’d
like to confirm that, but even if it’s true, I can’t imagine that makes
such a difference for 99% of apps. If we can switch that default to “high”,
I think that’s something we should do…
>

Flash Builder creates this file when the project is created.  And I believe
it comes from a template from the AIR SDK.  If that is indeed the case, I
don't we can modify it.

I have not seen this blurryness your are encountering.  What device are you
using to test the app?

Thanks,
Om

Re: AIR app.xml

Posted by jude <fl...@gmail.com>.
This says it applies to Macbook Pro with a Retina display:

If the requestedDisplayResolution element is nested in the initialWindow
element, it applies to desktop AIR applications on MacBook Pro computers
that support high-resolution displays. [1]

It other words this setting does not apply to application or device that is
not, "desktop AIR applications on MacBook Pro computers that support
high-resolution displays".

It should be OK to default to high but we should do some tests (no retina
display here) and wait to hear back from the AIR team.

Note: At some point in the future other OSs could support high res displays
if they don't already.

[1]
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html#WSfffb011ac560372f-4cb7055d12d779150e8-8000



On Thu, Dec 11, 2014 at 3:30 AM, Erik de Bruin <er...@ixsoftware.nl> wrote:

> OK. Maybe file a JIRA documenting this issue and the workaround, with
> the suggestion someone look at the build script that adds AIR to the
> SDK to change that template?
>
> EdB
>
>
>
> On Thu, Dec 11, 2014 at 11:45 AM, Harbs <ha...@gmail.com> wrote:
> > Alright. I’m feeling pretty stupid right now…
> >
> > That file was not in flex-sdk. It was in the AIR SDK dependency.
> >
> > Unless we modify that file as part of the build script, I don’t see how
> we can change the default…
> >
> > On Dec 11, 2014, at 10:57 AM, Harbs <ha...@gmail.com> wrote:
> >
> >> Could it be this file?
> >> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
> >>
> >> On Dec 11, 2014, at 10:46 AM, Harbs <ha...@gmail.com> wrote:
> >>
> >>> Please forgive my question if it’s a dumb one, but I did not find this
> info on a casual search…
> >>>
> >>> When a new project is created, where does the app.xml file come from?
> Is that something controlled by the AIR package, Flash Builder, or Flex?
> >>>
> >>> The primary reason I’m asking this question is because the default
> value of requestedDisplayResolution does not make sense to me. The default
> is “standard”, but that makes for very blurry apps on Retina screens. I
> can’t imagine why you’d want to create an app that does not look right on a
> HIDPI screen. Someone on the user list suggested that “high” uses more GPU.
> I’d like to confirm that, but even if it’s true, I can’t imagine that makes
> such a difference for 99% of apps. If we can switch that default to “high”,
> I think that’s something we should do…
> >>>
> >>> Harbs
> >>
> >
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>

Re: AIR app.xml

Posted by Erik de Bruin <er...@ixsoftware.nl>.
OK. Maybe file a JIRA documenting this issue and the workaround, with
the suggestion someone look at the build script that adds AIR to the
SDK to change that template?

EdB



On Thu, Dec 11, 2014 at 11:45 AM, Harbs <ha...@gmail.com> wrote:
> Alright. I’m feeling pretty stupid right now…
>
> That file was not in flex-sdk. It was in the AIR SDK dependency.
>
> Unless we modify that file as part of the build script, I don’t see how we can change the default…
>
> On Dec 11, 2014, at 10:57 AM, Harbs <ha...@gmail.com> wrote:
>
>> Could it be this file?
>> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
>>
>> On Dec 11, 2014, at 10:46 AM, Harbs <ha...@gmail.com> wrote:
>>
>>> Please forgive my question if it’s a dumb one, but I did not find this info on a casual search…
>>>
>>> When a new project is created, where does the app.xml file come from? Is that something controlled by the AIR package, Flash Builder, or Flex?
>>>
>>> The primary reason I’m asking this question is because the default value of requestedDisplayResolution does not make sense to me. The default is “standard”, but that makes for very blurry apps on Retina screens. I can’t imagine why you’d want to create an app that does not look right on a HIDPI screen. Someone on the user list suggested that “high” uses more GPU. I’d like to confirm that, but even if it’s true, I can’t imagine that makes such a difference for 99% of apps. If we can switch that default to “high”, I think that’s something we should do…
>>>
>>> Harbs
>>
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
Alright. I’m feeling pretty stupid right now…

That file was not in flex-sdk. It was in the AIR SDK dependency.

Unless we modify that file as part of the build script, I don’t see how we can change the default…

On Dec 11, 2014, at 10:57 AM, Harbs <ha...@gmail.com> wrote:

> Could it be this file?
> frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml
> 
> On Dec 11, 2014, at 10:46 AM, Harbs <ha...@gmail.com> wrote:
> 
>> Please forgive my question if it’s a dumb one, but I did not find this info on a casual search…
>> 
>> When a new project is created, where does the app.xml file come from? Is that something controlled by the AIR package, Flash Builder, or Flex?
>> 
>> The primary reason I’m asking this question is because the default value of requestedDisplayResolution does not make sense to me. The default is “standard”, but that makes for very blurry apps on Retina screens. I can’t imagine why you’d want to create an app that does not look right on a HIDPI screen. Someone on the user list suggested that “high” uses more GPU. I’d like to confirm that, but even if it’s true, I can’t imagine that makes such a difference for 99% of apps. If we can switch that default to “high”, I think that’s something we should do…
>> 
>> Harbs
> 


Re: AIR app.xml

Posted by Harbs <ha...@gmail.com>.
Could it be this file?
frameworks/AIRSDK_Compiler/templates/air/descriptor-template.xml

On Dec 11, 2014, at 10:46 AM, Harbs <ha...@gmail.com> wrote:

> Please forgive my question if it’s a dumb one, but I did not find this info on a casual search…
> 
> When a new project is created, where does the app.xml file come from? Is that something controlled by the AIR package, Flash Builder, or Flex?
> 
> The primary reason I’m asking this question is because the default value of requestedDisplayResolution does not make sense to me. The default is “standard”, but that makes for very blurry apps on Retina screens. I can’t imagine why you’d want to create an app that does not look right on a HIDPI screen. Someone on the user list suggested that “high” uses more GPU. I’d like to confirm that, but even if it’s true, I can’t imagine that makes such a difference for 99% of apps. If we can switch that default to “high”, I think that’s something we should do…
> 
> Harbs