1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Indonesia
    Posts
    23
    Vote Rating
    0
    hihiapolla is on a distinguished road

      0  

    Default Unanswered: Sencha Bottom Toolbar Sometimes Hides unexpectedly

    Unanswered: Sencha Bottom Toolbar Sometimes Hides unexpectedly


    Hi all,

    I want to ask, I have a panel which consists of dataview and a toolbar both in top and bottom.

    The bottom toolbar is consisted of Segmented Button. My application is designed to refresh the panel that contains the dataview by using the removeAll(true) function. But the problem is when I refresh the dataview, sometimes the toolbar in the bottom is hidden unexpectedly, however if I stimulate by tapping around the segmented button, the toolbar can be viewed.

    Is this a bug or I got something missing in my code?

    Here is my pseudocode of the segmented button :

    Code:
            this.buttonLanguage = new Ext.SegmentedButton({
                allowMultiple: false,
                items: available_languages,
                listeners: {
                    toggle: function(container, button, pressed) {
                        if(pressed) {
                            //Get Tag and modify according to language
                            var form = this.formFilterDish.getValues();
                            var tags = form.dish_type_filter;
    
    
                            this.panelPatientDish.removeAll(true);
                            
                            //Recreate the DataView again here (reinitializing the store and apply the language)
                            this._internalCreatePanelDisplayDish(tags);
                        }
                    },
                    scope: this
                }
            });
    Do I need to call setVisible for the bottom toolbar after I press the segmented button? Can setVisible force the display to output the bottom toolbar? Because I find this case not only in this situation but in another situation when I just create and displaying panel with dataview also.

    Please if anyone who have experience this issue, can share your thoughts?

    Thanks beforehand.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,543
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Is it hidden or not in the right position?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Location
    Indonesia
    Posts
    23
    Vote Rating
    0
    hihiapolla is on a distinguished road

      0  

    Default


    I cannot say it is hidden because actually I can access the button within. But it won't display (rendered) on the screen unless I tap my finger around the button which will trigger the event. It is like the toolbar is rendered but not displayed.

    However, this behaviour is only happen when I am running mostly using the iPad. In the computer this behaviours is unlikely to be happening.

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Location
    Indonesia
    Posts
    23
    Vote Rating
    0
    hihiapolla is on a distinguished road

      0  

    Default


    The problem sometimes still persists for the bottom toolbar. Is there anyone know the same issue? Or what is exactly the point of the issue? It is only happening sometimes but really disturbing.

Thread Participants: 1