Bug 167252 - Bug report dialog should close after I click Report bug
Summary: Bug report dialog should close after I click Report bug
Status: RESOLVED DUPLICATE of bug 101684
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kbugreport (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 22:25 UTC by Bassio
Modified: 2008-07-22 23:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bassio 2008-07-22 22:25:44 UTC
Version:            (using KDE 4.0.98)
Installed from:    Ubuntu Packages
OS:                Linux

I guess from a usability point of view: when a user clicks report bug and it invokes the browser .. it is expected that he will proceed on the bug report using his preferred browser

however the bug report dialog does not close automatically but is kept open .. and when you return to the app you find that the dialog is still there to close it manually with the 'close' button.

The launch bug report button assumes the function of an ok button and I think it better closes the dialog after it invokes the browser

am I correct? What do usability guys think?

I'll take a stab since I am pretty much a noob at this .. but I guess it is here

http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/kbugreport_8cpp-source.html

line 398

00398 void KBugReport::accept()
00399 {
00400     if ( d->submitBugWeb ) {
00401         KToolInvocation::invokeBrowser( d->url.url() );
00402         return;
00403     }

The function returns and that's it .. probably adding a close() after the return will solve the problem correct?
Comment 1 Bassio 2008-07-22 22:32:49 UTC
btw in /trunk/KDE/kdelibs/kdeui/dialogs/kbugreport.cpp :D
Comment 2 Pino Toscano 2008-07-22 23:35:17 UTC

*** This bug has been marked as a duplicate of 101684 ***