Discussion Forums  >  Self Hosted Control Panels

Replies: 10    Views: 282

fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
12/15/13 11:28 AM (11 years ago)

BT Core 3.0 Bug Reports... and some solutions

This is some kind of spinoff from Stobe’s thread about BT3.0 Bug Report. Check it: <a href="https://www.buzztouch.com/forum/thread.php?tid=B0DEFDCF8EE597780D5A65C&sortColumn=FT.id&sortUpDown=DESC&currentPage=1" target="_blank" rel="nofollow">https://www.buzztouch.com/forum/thread.php?tid=B0DEFDCF8EE597780D5A65C&sortColumn=FT.id&sortUpDown=DESC&currentPage=1</a> Let’s try and keep all that clear! If any of these issues gets fixed or if anybody finds a tweak, feel free to send a PM to fusionsch (at) gmail.com and I’ll update this post with the latest news! (And I’ll update it too as I go on testing and discovering further issues) ===> UPDATED POST (STRIKES AGAIN) This post is regularly updated... It seems the bottom tool bar issue is more severe than I thought: I found it in 4 plugins and I'm afraid it's present in all plugins featuring a bottom tool bar (UPDATE about this issue below, in my Dec 29 post). Jake Chasan has a workaround for the print issue and PSMDanny has a solution for the incomplete package issue, but unfortunately these are the only solutions so far for all these issues! ===> MY ENVIRONMENT BT-server 3.0.0 self-hosted (updated after the child items fix) Xcode 5.0.2, OS X 10.9 (13A603) Test devices: iOS 7.0.4 on iPhone 5, iOS 7.0 (11A465) on iPad 2 (all tests are made on devices, never in the simulator) ===> INCOMPLETE PACKAGE DOWNLOAD ———> FIX FIX FIX (thanks to PSMDanny): With FTP, make a backup of your plugin folder and, after that, delete everything inside that folder. Then, download all the plugins from your control panel (your self-hosted BT-server -> admin -> Manage Plugins -> Plugin Maintenance (Add, Remove, Refresh) -> Download Plugins from your buzztouch.com Control Panel). This will bring all the latest plugin packages with the full structure of 2.0 and 3.0. Once done, you'll be able to download your project with all the plugins. ===> PRINT ISSUE (not so severe but…) Not a bug, but a wish! There were tweaks to make screens printable. They don’t work anymore and IMO it should be a standard feature in the core. (I bet I’m not the only one who e.g. needs to embed printable maps in PDF Doc screens!) ———> WORKAROUND: use Jake Chasan's ShareMenu plugin. ===> ROTATION ISSUE (severe!) ‘Prevent rotation in small devices’ not functional, even if set in Xcode too. When fixed, another issue will be at hand: updated tweak to set authorized orientation to portrait and upside down only on iPad (no landscape orientation ever). ===> CONTEXT MENUS (we just have to be patient) Displayed, but not functional. Can live without it, but could be quite useful! ===> ICONS MISSING IN BOTTOM TOOL BARS (extremely severe) Missing in Custom URL, PDF Doc, Location Map, MacImage Gallery (and probably in other plugins too). For Location Map (e.g.), icons are present in the plugin folder and referenced in BT_viewUtilities.m, they are black and my tool bar white, they should definitely be displayed. Moreover, tapping on these 'invisible' icons sometimes seems functional, sometimes makes the app instantly quit. ===> DEPRECATED FUNCTIONS (yellow warnings, not red fatal errors) Mac_image_gallery.m: wantsFullScreenLayout (line 65) NAD_advanced_quiz.m: initWithCategory (line 646), reportScoreWithCompletionHandler (line 650), reportAchievementWithCompletionHandler (line 691) MosaicDataView.m: minimumFontSize (line 58) AK_mosaicMenu.m: minimumFontSize (line 589) FGalleryViewController.m (Thumb Viewer plugin): UIStatusBarStyleBlackTranslucent (line 319) and sizeWithFont (line 786) BT_audioPlayer.m (BT_Core): UITextAlignmentCenter (line 115), UITextAlignmentLeft (lines 136 and 154), UITextAlignmentRight (lines 145 and 163) CR_menuAdvanced_cell.m: UILineBreakModeTailTruncation (line 104) BT_viewUtilities.m (BT_Layout): UITextAlignmentCenter (line 146), segmentedControlStyle and UISegmentedControlStyleBar (both on line 907) BT_viewController.m (BT_Layout): UIStatusBarStyleBlackOpaque (line 138), UIStatusBarStyleBlackTranslucent (line 147), UITextAttributeTextColor (line 366), ADBannerContentSizeIdentifierLandscape (lines 660 and 678), ADBannerContentSizeIdentifierPortrait (lines 662, 680 and 1552), presentModalViewController:animated (lines 937 and 1454), setCurrentContentSizeIdentifier (line 1550) BT_tabBarController.m (BT_Layout): ADBannerContentSizeIdentifierLandscape (line 122), setCurrentContentSizeIdentifierPortrait (line 124), setCurrentContentSizeIdentifier (lines 122 and 124) ===> MANAGE PLUGINS => Check All 54 Plugins for Updates Animated Circle Menu: always v1.2 and saying ‘v3.1 Available’ even when I download and install (but with the Refresh function I see that I do have v3.1) HTML Pro: always v1.1 and saying ‘v3.1 Available’, clicking on ‘download and install’ brings just an eternal ‘…loading’ (and the Refresh function tells me I have v1.1) Webform Generator: tells me I have v3.0 but v1.0 is available! (Refresh function tells me I do have v3.0) ===> TO BE CONTINUED… That’s all, folks! But I’m afraid there is more to come, I didn’t test everything…) Thanks to the BT team and to all BT members for their endless work! This community definitely rocks!
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
12/15/13 03:39 PM (11 years ago)
In Android there are too missing icons in the bottom toolbar but tapping is functional.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/15/13 06:38 PM (11 years ago)
What is the tweak for rotation on iPad? In my case, I only want Landscape mode for iOS 7 only. Thanks, -- Niraj
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/17/13 06:08 AM (11 years ago)
RE: ===> ICONS MISSING IN BOTTOM TOOL BARS (extremely severe) You can take the icons from the old 2.0 project and add it yourself, then they will show up. Not sure its severe, its just not included in 3.0 Once you add those old default images all is good :) Side Note: did you have any issues with the 3.0 Interactive Quiz at all?
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
12/18/13 03:34 AM (11 years ago)
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
12/18/13 04:17 AM (11 years ago)
@mysps: I didn't try the 3.0 Quiz yet - will do, one day or another! Maybe I've not been clear enough with the bottom tool bar issue: it's not about the tab bar icons, but about the different icons/buttons that are displayed in the bottom tool bar, e.g. the back and reload buttons in Custom URL screens. Another example: in the bt_screen_map plugin, you have 4 icons (bt_terrain.png, bt_standard.png, bt_location.png and bt_hybrid.png) that should be displayed in the bottom tool bar when you select the corresponding settings in 'Map Behavior' in the control panel. But none of these icons is displayed, I have only a white tool bar. If I tap on the spot where e.g. the reload icon is supposed to be, the screen does reload but tapping on the spots where the different map types are supposed to be selected terminates the app. That's why this issue is 'severe'! Here is the output I get in Xcode: 2013-12-18 12:11:15.659 ilavaux[6344:60b] -[BT_screen_map showMapType]: unrecognized selector sent to instance 0x16570330 2013-12-18 12:11:15.660 ilavaux[6344:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BT_screen_map showMapType]: unrecognized selector sent to instance 0x16570330' *** First throw call stack: (0x2ff07e83 0x3a2646c7 0x2ff0b7b7 0x2ff0a0af 0x2fe58dc8 0x326c0da3 0x32828615 0x326c0da3 0x326c0d3f 0x326c0d13 0x326ac743 0x326c075b 0x326841a1 0x326bb9fd 0x326bb3ab 0x32690d79 0x3268f569 0x2fed2f1f 0x2fed23e7 0x2fed0bd7 0x2fe3b471 0x2fe3b253 0x34b752eb 0x326f0845 0x1b0d55 0x3a75dab7) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
12/29/13 04:43 AM (11 years ago)
ABOUT THE BOTTOM TOOL BAR ISSUE (missing icons): a hint to the solution? I have this issue only in an app I started to develop on BT Core 2.1.9 (self-hosted) before upgrading to 3.0.0. An app started on BT 3.0.0 doesn't have this issue, the icons show. But the 'terminating app' issue is still here with the Location Map plugin (see post just above).
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/01/14 05:07 PM (11 years ago)
I downloaded an empty project for Buzztouch v3. All free plugins and all my purchased plugins were included in the prepared project. Then I set the Deployment Target for 6.1 - Click on tiny folder icon (under the big play button on upper-left) - Click on blue project icon - Click on General table in main window - Within Deployment Info section, find the Deployment Target setting - Use the pull-down to select 6.1 for iOS 6.1 and later After compiling the empty project, there were a lot of warnings in the core of Buzztouch and in the plugins. Here is how I fixed all the deprecations (items that will be removed by Apple in the future). https://www.buzztouch.com/forum/thread.php?tid=17197693FE0F18530A39FE8&fid=06DB0BCB08E2222&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 -- Niraj
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/03/14 12:06 PM (11 years ago)
I have posted a fix for the deprecation warnings on the BTA_ThumbViewer plugin on this post: http://buzztouch.com/forum/thread.php?tid=640717341E1B9C700BB777E
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
01/04/14 02:53 AM (11 years ago)
Thanks a lot, Niraj! Let's hope we won't have to do all this fine-tuning in every project!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/04/14 08:52 AM (11 years ago)
I downloaded an empty project for Buzztouch v3. All free plugins and all my purchased plugins were included in the prepared project. Then I set the Deployment Target for 7.0 - Click on tiny folder icon (under the big play button on upper-left) - Click on blue project icon - Click on General table in main window - Within Deployment Info section, find the Deployment Target setting - Use the pull-down to select 7.0 After compiling the empty project, there were a lot of warnings in the core of Buzztouch and in the plugins. Here is how I fixed all the deprecations (items that will be removed by Apple in the future). Please note that these fixes are backward compatible for iOS 6 and for iOS 7. https://www.buzztouch.com/forum/thread.php?fid=CD280790A695D86F9E6EEE2&tid=CD280790A695D86F9E6EEE2 -- Niraj
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.