Closed Bug 1143263 Opened 5 years ago Closed 5 years ago

WebApp Runtime makes Mac always use discrete graphics card

Categories

(Firefox Graveyard :: Webapp Runtime, defect, P3)

x86
macOS
defect

Tracking

(firefox39 fixed)

RESOLVED FIXED
Firefox 39
Tracking Status
firefox39 --- fixed

People

(Reporter: Felipe, Assigned: Felipe)

Details

Attachments

(1 file)

On Macs with dual graphics chip, launching the WebApp Runtime immediately forces the system to use the discrete graphics card, and it remains like that during the entire app execution.
Could this be a problem with using a clean / new profile for each app?
Flags: needinfo?(felipc)
Priority: -- → P3
No, I found out what it was. The installer needed to declare something in the Info.plist file for the generated app. Posting patch
Flags: needinfo?(felipc)
Attached patch PatchSplinter Review
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Attachment #8580236 - Flags: review?(mar.castelluccio)
Iteration: --- → 39.2 - 23 Mar
Points: --- → 1
Flags: qe-verify-
Flags: needinfo?(mmucci)
Flags: firefox-backlog+
Added to IT 39.2
Flags: needinfo?(mmucci)
Comment on attachment 8580236 [details] [diff] [review]
Patch

Mstange, could you double check that this is fine? This is the Info.plist we create for the app packages that we generate (to install native apps that uses the webapp runtime)
Attachment #8580236 - Flags: review?(mstange)
Comment on attachment 8580236 [details] [diff] [review]
Patch

Review of attachment 8580236 [details] [diff] [review]:
-----------------------------------------------------------------

Yup, this is the correct fix.
Attachment #8580236 - Flags: review?(mstange) → review+
https://hg.mozilla.org/mozilla-central/rev/91a05713580d
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.