Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24933] Windows: Setting fullscreen property on window creation has no effect

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-08-18T03:49:23.000+0000
Affected Version/sRelease 6.1.1, Release 6.2.0
Fix Version/sRelease 6.2.0
ComponentsWindows
Labelsn/a
ReporterEwan Harris
AssigneeKota Iguchi
Created2017-07-05T13:30:15.000+0000
Updated2017-08-21T10:48:14.000+0000

Description

Description

Setting fullscreen on a window on creation has no effect when the window is opened
var window = Ti.UI.createWindow({ backgroundColor: 'gray'}),
    win2 = Ti.UI.createWindow({backgroundColor: 'green', fullscreen: true}),
    btn = Ti.UI.createButton({ title: 'open fullscreen', bottom: 0, left: 0, width: '50%' });

window.add(btn);

btn.addEventListener('click', function(){
    win2.open();
});

window.open({fullscreen: false});

Steps to reproduce

Add the code above to an existing app.js

Build for Windows

Tap the button

Actual

Application does not fullscreen when button is clicked

Expected

Application should fullscreen when button is clicked

Comments

  1. Kota Iguchi 2017-08-04

    https://github.com/appcelerator/titanium_mobile_windows/pull/1060
  2. Samir Mohammed 2017-08-16

    [~kiguchi] Master is merged. Waiting for 6_2_X.
  3. Kota Iguchi 2017-08-18

    Merged to 6_2_X https://github.com/appcelerator/titanium_mobile_windows/pull/1079
  4. Ewan Harris 2017-08-21

    Verified in 6.2.0.v20170821001430, closing ticket

JSON Source