Bug 167252

Summary: Bug report dialog should close after I click Report bug
Product: [Frameworks and Libraries] kdelibs Reporter: Bassio <ahmedbassi>
Component: kbugreportAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***