Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12717] Blackberry : We see a pixel shift in the window positioning on BlackBerry simulator

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2013-07-26T16:33:10.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneePedro Enrique
Created2013-02-13T00:17:30.000+0000
Updated2017-03-13T22:23:45.000+0000

Description

NOTE: This issue is only seen on simulator & not on device Description: 1.Run the code below on Bb simulator/device
var win1 = Titanium.UI.createWindow({  
    backgroundColor:'#000'
});

var label1 = Titanium.UI.createLabel({
	color:'#999',
	text:'I am Window 1',
	font:{fontSize:10},
});

win1.add(label1);
win1.open();
2. Check the app after it launches Actual Result: 1.The window position is one pixel off on the top & left border Expected Result: 1.The window should position exactly Screenshot attached for reference

Attachments

FileDateSize
Screen Shot 2013-02-12 at 4.08.18 PM.png2013-02-13T00:17:30.000+000037514

Comments

  1. Pedro Enrique 2013-07-26

    This happens with native apps as well. Probably a simulator bug. Code used to test:
       #include <bb/cascades/Application>
       #include <bb/cascades/Container>
       #include <bb/cascades/Page>
       #include <bb/cascades/Color>
       
       using namespace bb::cascades;
       
       Q_DECL_EXPORT int main(int argc, char **argv)
       {
           Application app(argc, argv);
       
           Page* page = new Page();
           Container *view = new Container();
           view->setBackground(Color::Black);
           page->setContent(view);
           app.setScene(page);
       
           return Application::exec();
       }
       
  2. Lee Morris 2017-03-13

    Closing issue as we no longer offer support for BlackBerry.

JSON Source