Summary: | [Patch] Middle-click on a tab to close it would be very useful | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Robert Persson <ireneshusband> |
Component: | general | Assignee: | Stefan Borggraefe <Stefan.Borggraefe> |
Status: | ASSIGNED --- | ||
Severity: | wishlist | CC: | henrik.pauli, kde-2011.08, oneeyedelf1, pelzowski, Stefan.Borggraefe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Makes Akregator to behave more like Konqueror with respect to tabs |
Description
Robert Persson
2005-04-01 20:47:12 UTC
and what about double click (since sw patents were canceled)? Konqueror now has the option MouseMiddleClickClosesTab=true for this. *** This bug has been marked as a duplicate of 101473 *** I don't think this is a dupe. The mentioned option only affects konqueror, not akregator. I think this bug should be reopened (I don't have the bugzilla permission to do so). doh, sorry. Maybe we should just check if this is set in konquerorrc and make tabwidget behave like konqueror? I'm glad to see this bug; it's not related to Konqueror and it's even relatively fresh! I'm unfortunately not a coder, so I can only chime in with words: please make it global. Optional, if you wish (I see many people in the *nix world like the middle-click paste), but please make it possible to close any tabs (that one opens himself and aren't part of the GUI, like, say kcontrol's tabs) with a middle-click. I doubt anyone wants to click on a kopete or a konsole tab to paste anything -- they'd more likely switch tabs and throw in the clipboard data while they can see where they put it. I'm using kde 3.5.3 and it's really nice not having middle clicks open wierd URLS... (I found the option in configure Konqueror) but it still opens wierd URLS when I middle click on a tab. It would be great to see this option represented in the configure konqueror options Thanks... and for the time being where do I put: MouseMiddleClickClosesTab=true ? *** This bug has been confirmed by popular vote. *** *** Bug 143023 has been marked as a duplicate of this bug. *** totally agree with #7 from Henrik Pauli btw. typing in terminal "kwriteconfig --file konquerorrc --group "FMSettings" --key MouseMiddleClickClosesTab --type bool true" will give you middle-click on a tab to close in Konqueror. Maybe the same way could by used for Akregator. :) also I totally agree with #7 I would also find this option very useful. I also second other people's wishes that middle click to close tabs should become global. But currently the largest pain that I can't use this option on is akregator. Created attachment 41084 [details]
Makes Akregator to behave more like Konqueror with respect to tabs
This patch adds a new option for "Middle-click on a tab to close it" and imports the current tabbed browsing settings from Konqueror as defaults for Akregator.
This is one of my first KDE patches, so please be gentle. ;-)
I don't think the middle-click behaviour should be a global option. In apps where you often paste text with the middle-mouse-button like in Konsole or in Kate you probably want a different behaviour than in viewers like Konqueror or Akregator. But I think it makes sense for Akregator to look up if and how the user has configured Konqueror and to reuse these settings since both programs are used very similar when web pages are viewed. Akregator already reuses Konqueror's font settings as well. (In reply to comment #15) > I don't think the middle-click behaviour should be a global option. In apps > where you often paste text with the middle-mouse-button like in Konsole or in > Kate you probably want a different behaviour than in viewers like Konqueror or > Akregator. That’s a good point, though I’ve never pasted anything on a tab (especially not an inactive one) — I like to see where I paste, so all my middle-clicks go onto the text field (or KonsolePart, as it may be), rather than some parent widget. But maybe I’m quirky :) > I don't think the middle-click behaviour should be a global option. In apps
> where you often paste text with the middle-mouse-button like in Konsole or in
> Kate you probably want a different behaviour than in viewers like Konqueror or
> Akregator.
Test is pasted in the window, not on the tab.
Of course tabs should behave the same in all applications. If I happen to have some dangerous command in the clipboard and I middle-click a Konsole tab with the intention of closing it, I will be very upset if it pastes.
(In reply to comment #17) > Test is pasted in the window, not on the tab. Yes, I know this. I am more worried about accidentally closing a document or a Konsole session when such programs would feature middle-click to close a tab. Imagine you want to paste something into a document and click on the tab by mistake. Anyways, my patch fixes this bug and tries to be a little clever to determine to default configuration. If this should become a global option, this bug should probably be resolved as INVALID and a new bug about a global option should be filed. I think it would be nice if Akregator could be used the same way as other tabbed browsers for now. Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. |