[TIMOB-20091] iPad SplitWindow not displaying as before
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2018-06-05T22:02:57.000+0000 |
Affected Version/s | Release 5.1.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | supportTeam |
Reporter | Luis Galhardo |
Assignee | Angel Petkov |
Created | 2015-11-30T09:53:59.000+0000 |
Updated | 2018-08-02T22:20:04.000+0000 |
Description
This is my layout from some days ago:
!https://dl.dropboxusercontent.com/u/507021/IMG_0024.jpg!
And after the last updates I have the layout all messed up like this:
!https://dl.dropboxusercontent.com/u/507021/Captura%20de%20ecr%C3%A3%202015-11-30%2C%20%C3%A0s%2009.45.32.png!
I don't remember changing any source code that could cause this behavior, anyone else having problems with SplitView ?
Master view seems smaller with objects on top of each other and got no right black vertical border.
Hello, Please provide a simple test case that best replicates the issue, also attach your full working environment info. Thanks.
*ALL OK* Node.js Node.js Version = 0.10.37 npm Version = 1.4.28 Titanium CLI CLI Version = 4.0.1 Titanium SDK SDK Version = 5.0.0.v20150910173119 SDK Path = /Users/taruga/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150910173119 Target Platform = iphone *NOT OK* Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.5 Titanium SDK SDK Version = 5.0.0.v20150910173119 SDK Path = /Users/taruga/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150910173119 Target Platform = iPhone The left view shrinks, it´s not the default 320 pixels anymore. Also, the black vertical line that splits the views disappear . Test Sample: Just use this alloy code:
I corrected this issue by setting in my style.tss "SplitWindow": { landscapeSplit: 0.3125} It corrects the width, but not the divider ;-(
I´m having several issues with the last update. SplitWindow problems, data binding that doesn't show up, parts of the views that don't refresh, etc... I can't program like this until all this mess is fixed. Unfortunately, this last update is more like a nightly build and not a stable or beta release.
Problem seems related to CLI 5.1.0, using: *appc use 5.0.4* I have SplitWindow working fine again, divider shows, and all other problems I had are not happening
Hello , I'm sorry to hear that your experiencing issues with the platform. Unfortunately this isn't something that can be fixed , as its technically not a bug. The reason the masterView use to be 320p as oppose the current size. Is because when using "SplitWindow" in alloy it automatically chooses the class to be used and it use to chose an older class which is now deprecated(http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iPad.SplitWindow). Within that class the masterView was hard coded to 320p as [~sdarda] pointed out. However the newer splitWindow(http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.SplitWindow) sets the masterView to a percentage of the total width.This was one of the reasons the old split window was deprecated, the size of the view shouldn't be hard coded as it will cause issues when running on new devices. For example if this application was to be ran on the new iPad pro , the masterView would stay at 320p which is not something we want, the masterView should stay the same size in proportion to the details view.
What about the vertical divider ? Doesn't show anymore .
I have to use old splitWindow and do small workaround to use it with Alloy: ./lib/ipad.js
and in main.xml
Hi [~darknos] thank you the input and the work around regarding the issue :)!
Sergey Nosenko, just what I needed. Thank you :)
Closing old "Won't fix" tickets. If you disagree, please reopen.