Bug 321915 - When closing a window with multiple tabs open 2 of the 3 options I'm presented with have the same accelerator key 'c'
Summary: When closing a window with multiple tabs open 2 of the 3 options I'm presente...
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.10.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 16:43 UTC by Georgiy Treyvus
Modified: 2023-02-09 03:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
a picture is worth 1000 words (293.54 KB, image/png)
2013-07-03 16:45 UTC, Georgiy Treyvus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgiy Treyvus 2013-07-03 16:43:23 UTC
Say I have a bunch of tabs open and close the window. As any prudent browser does it asks me if I really want to do this.

I am presented with 3 options. The first is to close the tab only the accelator key for that is 'l' and Alt+L works exactly as expected.

The other two are to close the window and to cancel. However the accelartor key for both of them is 'c'. Going Alt+C cycles between the two but does not select either. Bizarre but I guess thats what happens in Qt when you have colliding accelerator keys.

Point is the close window action and the cancel action should have their own accelerator keys and not but try to hog 'c'.

Reproducible: Always
Comment 1 Georgiy Treyvus 2013-07-03 16:45:30 UTC
Created attachment 80925 [details]
a picture is worth 1000 words
Comment 2 Tommi Tervo 2013-07-03 17:28:19 UTC
Cannot reproduce, for me accelerator is alt-w (Close _W_indow). I'm not a HIG person but KStandardGuiItem::quit() would suite this better?

diff --git a/konqueror/src/konqmainwindow.cpp b/konqueror/src/konqmainwindow.cpp
index 8a21c1b..d3c7dcc 100644
--- a/konqueror/src/konqmainwindow.cpp
+++ b/konqueror/src/konqmainwindow.cpp
@@ -5125,7 +5125,7 @@ void KonqMainWindow::closeEvent( QCloseEvent *e )
                   i18n("You have multiple tabs open in this window, "
                         "are you sure you want to quit?"),
                   i18nc("@title:window", "Confirmation"),
-                  KStandardGuiItem::closeWindow(),
+                  KStandardGuiItem::quit(),
                   KGuiItem(i18n( "C&lose Current Tab" ), "tab-close"),
                   KStandardGuiItem::cancel(),
                   "MultipleTabConfirm
Comment 3 Georgiy Treyvus 2013-07-03 17:54:35 UTC
I don't know why you can't reproduce but see my screenshot. Clearly this problem occurs at least some of the time.
Comment 4 Andrew Crouthamel 2018-11-10 03:23:35 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-21 04:36:17 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Justin Zobel 2023-01-10 01:52:03 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 7 Bug Janitor Service 2023-01-25 05:05:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2023-02-09 03:53:59 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!