Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 56

BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
05/13/13 07:45 PM (12 years ago)

Home Screen Bug?

Man, this had me worried for a few minutes! LOL. After adding a menu item to use the RD Simple RSS plugin, it looks like the Home screen was changed to use this new screen that I created. So, not sure if this is a bug with the control panel or one of the plugins...glad I managed to quickly find the issue! LOL
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/13/13 08:13 PM (12 years ago)
I'm afraid you lost me there Steve. :-) What is happening?
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/13/13 08:48 PM (12 years ago)
Sorry, not sure what happened, so trying to diagnose. I had an item on Menu with Image, linked to a screen with RD Simple RSS plugin. What I did was: - delete that menu item - add a different menu item, linked to a screen with HTML doc - then added a new menu item, linked to a screen with RD Simple RSS plugin - did a refresh on the iPhone - what I got was just the splash screen and then the default RSS feed screen - I checked Xcode, same thing - then a light bulb went off, so I checked the settings in Layout in the control panel, and sure enough the Home screen had changed to the new screen I had just added with the RD Simple RSS plugin Trying to figure out how this could have happened. Not sure if I did something wrong or if the control panel went wonky or? Cheers
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
05/13/13 09:53 PM (12 years ago)
Home screen switching happens now and then ... Yes, it is wonky at times! You are on a roll in finding bugs. This one is with the BuzzTouch itself. Many users have encountered it. Now that you are aware of the Home Screen settings having magically changed, you will always be on the alert for it. :-) -- Niraj
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/13/13 09:55 PM (12 years ago)
@Niraj. LOL. Thanks! At least now I know it's not just me and not the rainy weather in Vancouver playing tricks on the mind :-)
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/14/13 05:07 AM (12 years ago)
Send that rain down here. We need it. 109 degrees yestercay :-/
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/14/13 05:27 AM (12 years ago)
I believe this is how the "bug" happens... When you create a new project, you get the default "Home Screen Menu" created automatically as your only screen. This is also setup as the default 'home' screen to be used in the non-tabbed layout. IF you ever delete that screen, and don't go right back to the layout screen to re-define a new 'home' screen, your project will select the next screen at the top of your configuration text to use as the 'home' screen for your layout. (this will usually be whatever screen you created second, or whatever your 'oldest' screen is). This can also happen if you ever define ANY screen as your home screen, and later delete it. If you look at the configuration file for any of your "tabbed" apps, you'll see that your config.txt defines some "BT_tabs" so the source knows how to layout your tabbed app. But in a non-tabbed app, the config does not define a "home" screen, but rather it uses the first screen in your list of "BT_screens". Hope this makes sense. It happens all the time. Just try to remember to re-define your layout any time you delete or change your existing home screen. -Chris
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
05/14/13 11:01 AM (12 years ago)
I second Stobes comments, in self hosted it doesn't make a default home screen and I often forget to add the home screen in the control panel, the first view controller (plugin) is the default so what ever plugin you choose first becomes the daddy.
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/14/13 11:41 AM (12 years ago)
@Stobe, @Kittsy. I don't believe this was the cause in my case. I already had the home screen set correctly in Layout, plus I'm not using the self-hosted solution (yet) :-) I also checked the config.txt since I'm not using tabbed layout, and my Home screen is the first screen in the list of "BT_screens" :-) Weirder and weirder...Cheers
 

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.