OpenSource programming

December 15, 2007

Feeling like KBugBuster

Filed under: General — Tags: , , — Dmitry @ 1:49 am

Hello, Planet KDE!

I decided to start a blog I can write to when I have programming-related-blog-writing mood πŸ™‚

I hope my English is mature enough for you to understand it at least roughly.

Actually it is already since some days ago I want to write about my work on kbugbuster.

It began with a feeling πŸ™‚ When I heard someone mentioning Deskzilla (that’s a proprietary bugzilla client), I thought about kbugbuster. I knew it was in a not-very-good shape. Suddenly I feeled like resurrecting it. I wasn’t sure if I’ll have time for that though. But in one of the weekends it happend – I created a branch in kde repository and started to hack.

And now I’m continuing to hack on it as I happen to have free minute and /dev/hands demanding action πŸ™‚

At first I wanted to just bring it to shape, with possibly some code restructuring and adding some features that’ll naturally emerge.
All my previous contacts with existing KDE apps (written by someone else) – namely katomic, klines, kmines, kreversi – ended up being a major rewrite. I thought I can do different with kbugbuster.

No luck πŸ™‚ After two days of hacking I suddenly understood that I’m missatisfied with existing API and code to a degree where I end up “restructuring” so much that I put a lot of “TODO remove this, do another way”. So I just started all over πŸ™‚ I didn’t throw away an old code – to keep it for reference.

And this rewrite has a great influence on my kde/qt learning curve – I started to learn Qt model/view framework, I learned how to use KIO (never tried it in action before – kudos to its devs – KIO rocks!)

So. The summary of current state of things:

1. I wrote a “backend” stuff which is currently able to perform basic queries and do very basic bug parsing (only ID and Summary are extracted ATM). Queries are asynchronous (kio), parsing is synchronous – but this *should* change.
2. GUI stuff – sidebar treeview/model and bug list/model. Sidebar already supports adding items with any query attached to them. This can be viewed like bugzilla’s “saved searches” I guess.

This all currently operates in online-only mode.
Actually I wanted to ask you – what do you think about kbugbuster having an offline mode?
How do you see it?
Should it do it like Deskzilla does – syncing to bugzilla and offering complete offline browsing and working with bugs?
Should it behave like an old kbugbuster did – just cache any retrieved info, but not the whole picture?

Is it needed at all?

Any other thoughts about kbugbuster in general (and in detail) are welcome πŸ™‚

Thanks to all who read until here, this was kind of lengthy post – it’s difficult to keep first posts short πŸ˜‰

P.S. No screenshots for now – they’re boring πŸ™‚ Partly broken GUI, sidebar with servers and products + bug list with several items in “ID:SUMMARY” form – that’s all it currently has πŸ™‚



  1. I can’t talk bout the coding, just one thing – your English is great. So no worries there!

    Comment by fish — December 15, 2007 @ 3:51 am

  2. complete offline browsing sounds like it would take a lot of disk space. maybe if it just saved bugs I was actually interested in…

    Comment by Chani — December 15, 2007 @ 5:13 am

  3. fish:
    Thank you πŸ™‚ I just often have feeling that some sentence is wrong worded, has wrong grammar oh whatever πŸ™‚

    Well it can be compressed or something. As about bug saving – what’s the use case? What saving will allow you to do? Re-read bug contents? Or something different?

    Comment by Dmitry Suzdalev — December 15, 2007 @ 6:51 pm

  4. I think offline mode makes sense only if you are creating a new bug (because an app just crashed on you πŸ˜› ) and you’re not connected to the net. So, cache the bug locally and then insert into BKO when online again (of course using solid to detect this πŸ˜› ).

    Thanks for your work anyway, a semi-automated bug reporting tool for KDE is really important for testers/powerusers.

    Comment by Vide — December 15, 2007 @ 8:09 pm

  5. Nice point! Thanks, I’ll have it in mind πŸ™‚

    Comment by Dmitry Suzdalev — December 15, 2007 @ 8:11 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: