Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
gyubok
Posts: 520
Registered: ‎10-08-2009
My Device: Bold 9900
My Carrier: Telus

Re: Error: slogger2 buffer handle not initialized.

Since a lot of people are able to reproduce this behavior, I guess it is a bug. I think this bug is pretty serious because RIM is expecting BlackBerry 10 users to constantly go in an out of apps, if the user comes back to the app and find the animation broken, it will seriously take away the BlackBerry 10 flow experience.

 

I have never logged a bug report, or even know how to. Can someone either do it or teach me? It would be fastest if someone from RIM see this thread.

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Error: slogger2 buffer handle not initialized.

I created https://www.blackberry.com/jira/browse/BBTEN-692 to cover this.

We've also asked for someone from the native dev group to join in here with some sort of response, since as noted above it's a pretty serious problem.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: Error: slogger2 buffer handle not initialized.

[ Edited ]

Thanks. I'm going to try and build a test case to reproduce and escalate.

--
Rob is no longer associated with BlackBerry.
Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: Error: slogger2 buffer handle not initialized.

Reproduced: on Dev Alpha A running 10.0.09.2320

 

import bb.cascades 1.0

Page {
    Container {
        layout: StackLayout {
        }
        Container {
            layout: AbsoluteLayout {
            }
            preferredHeight: 500
            Label {
                id: fred
                text: "Fred"
            }
        }
        Button {
            text: "Dance Freddy DANCE!"
            onClicked: {
                fred.translationY = 400 - fred.translationY;
            }
        }
    }
}

 

--
Rob is no longer associated with BlackBerry.
Please use plain text.
Developer
hendrik
Posts: 63
Registered: ‎09-10-2009
My Device: Z10, Bold 9700
My Carrier: O2 Germany

Re: Error: slogger2 buffer handle not initialized.

We are also experiencing this bug in our app since the latest SDK update. The transition animations are broken after the app has been minimized once. Only a restart of the app fixes the problem.

 

I discovered that the bug does NOT occur if "Application.cover" is set like e.g. in the QML Cookbook sample app.

 

However we have not yet decided whether we prefer to display an app cover or just the default thumbnail view when our app is minimized, so it would be appreciated if this bug could be fixed before the final release of the OS.

----

My Twitter: @hendrik_dev
Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: Error: slogger2 buffer handle not initialized.

Good news, this appears fixed on newer (internal) builds. Tested on 2372.

--
Rob is no longer associated with BlackBerry.
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Error: slogger2 buffer handle not initialized.

Great news, robbieDubya.

For my purposes and probably most of us, that's probably enough. We just need to test animation-related stuff without thumbnailing the app, and if we thumbnail the app we ignore our animations for now.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
jasoncheung
Posts: 67
Registered: ‎09-01-2012
My Device: Dev Alpha
My Carrier: Bell

Re: Error: slogger2 buffer handle not initialized.

That is good news.

 

For our current releases, should we wait for the upcoming SDK build or shall we do the workaround for now?

Please use plain text.
New Contributor
codealot
Posts: 3
Registered: ‎08-20-2012
My Device: Blackberry Dev Alpha
My Carrier: Kenyan

GreatRe: Error: slogger2 buffer handle not initialized.

Great!! now I can get back to coding in calm :smileyhappy:. Thanks for the info.

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Error: slogger2 buffer handle not initialized.

Jason, I'd suggest leave your code as-is, since it will clearly be fixed for launch. Personally, I'm not changing a thing, for now, anyway....

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.