Summary: | Present window overlay close buttons: issues compared to other solutions | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Christian (Fuchs) <kde> |
Component: | effects-present-windows | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adam, kdebugs, maxmustermann1884, nate, tom-kde.bugs |
Priority: | NOR | ||
Version: | 4.11.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Draft for QML based Present Windows |
Description
Christian (Fuchs)
2013-08-29 18:59:58 UTC
Created attachment 82024 [details]
Draft for QML based Present Windows
Thanks for the long feedback. As I understand the two main problems here are:
* natural sorting and the implied variance in size
* workarounds to make the first problem less a problem (disabled button at start, etc)
This is not really something news as you can see with the workarounds. Attached I have the QML script which is a starting point for Present Windows 2. If you have time for it, please give it a try (just copy into your kwin source tree in scripts folder then CMake should pick it up) and provide some feedback whether that approach fulfills the closing task in a better way.
(In reply to comment #1) > Created attachment 82024 [details] > Draft for QML based Present Windows First of all: thank you. As mentioned on IRC, just putting it in the scripts folder before compiling didn't magically add it. So if someone else faces the same problem: it is sufficient to copy the folder into the kwin script folder (/usr/share/apps/kwin/scripts on my gentoo system) and the metadata.desktop as /usr/share/kde4/services/kwin-script-presentwindows.desktop then run a kbuildsycoca4. > Thanks for the long feedback. As I understand the two main problems here are: > * natural sorting Sort of. Actually natural sorting is just a very good way to show some problems better, as they are worse there. I personally don't use it, but I think it's the default, so I tried working with defaults here. > and the implied varidesktopchangeosdance in size > * workarounds to make the first problem less a problem (disabled button at > start, etc) > > This is not really something news as you can see with the workarounds. Yes, indeed. Also I think we discussed some of these problems already when you implemented the overlay buttons, at least I remember me protesting and making a silly bet (on accidentially triggering it) > Attached I have the QML script which is a starting point for Present Windows > 2. If you have time for it, please give it a try (just copy into your kwin > source tree in scripts folder then CMake should pick it up) and provide some > feedback whether that approach fulfills the closing task in a better way. Right, some feedback (I know it's a pre-alpha as you told me on IRC, so I am entirely sure that some things will improve. Still I add them here, just to make sure they are known) There are some minor regressions, mainly the filter is almost not visible (it is a big centered overlay with the effect, here it is an easy to miss checkbox on top). There are some bugs, as an example I managed to have the close buttons covered by the task bar. There are areas which need work (e.g. user-friendly configurable etc.) but that is really probably just because pre-alpha The buttons now react immediately and given that they are always visible, the user _should_ not accidentially push them (well, at least he sees what he does. It is still possible, mainly if you move from a window that is below the one you want to select upwards). Aiming still takes too much time. So while it does have some improvements, I am still quite sure that some issues (aiming, which means it takes longer and is more prone to hit the wrong thing) simply can't be resolved with buttons, so I doubt that this will change. However, scripts do offer flexibility and can be adapted by users, so it is nice to see that all of this is possible via scripts. While this could be a nice solution for the meantime (since scripts can be delivered aside from any freezes or releases), I think that the main focus should be the new solution (multi-selection), which needs to be done right. If some good additions or fixes come to mind, I shall modify the script and upload it here. Again, thanks for your work. Kind regards, Christian iirc the closebutton doesn't usably work on touchdevices at all - there's a patch on RB (which likely does no longer apply clanly) to change that (turning first "click" into selection only in "touch" mode) a second solution could be a global "xkill/close" toggle button, which freezes layout, turns the cursor into a close indicator and closes every subsequently clicked window. i will argue that such change is little invasive and does not require new strings, so *could* be added to the KDE4 cycle - but that's martin's take alone and i will not question his decision. I also lack this feature. Middle click for closing in present windows was very natural and comfortable. First of all: I miss this feature, too. Really! Every day, when I use my laptop with a mouse connected, I miss this. Because I have loads of open windows, on different workspaces, and from time to time I want to have an easy way to clean up after a few days of work. Show all windows, this is not needed anymore, that too, click, click, click and so on. Middle-click any window in the overview would be the PERFECT solution to solve the job. First of all, I wanted to open a wish-suggestion-report to add this feature to KDE. But sadly I discovered this discussion. This argument. These opinions. Full of emotions. Full of hate. Full of childish behavior. I've studied computer since, and after reading all arguments concerning this issue, I'm really worried. Worried about Martin Gräßlin arguments. @Martin Gräßlin: You said (in the in #1 linked report): "Sorry wontfix. As can be seen in the review request the action is seen as destructive and has been removed deliberately as there is an explicit action to close a window. Re-adding would introduce the same problems which were the reasons to remove it." Using that argumentation, you should ban "rm -rf", too. Why to remove files forced recursively, if you could remove them file by file explicit using their file names, and use rmdir to remove empty directories? BTW: middle-click on any title bar closes the window, too. And that is something that is not configurable. To be honest, I'm disgusted by your comment: "I don't think I have to justify the decision. The feature had been added by me (9551c94e7c460efb3b0fd9ccb60472311ff0bf16) in the first place and it has been removed by me (f2b7ad693e8c4ef59093287473fb07a3098775bc)." Well, KDE is free software. Yes, this feature had been added by you, but it is NOT your right to remove it without any justification, just becouse you don't like it. If you don't like it, your arguments should be strong enough to survive any discussion. And if not, your arguments have not been strong enough. This is what I mean with childish behavior. "This is my toy, and if I want to remove it I can remove it and it is mine so I don't I have to justify why I destroy it". Disgusting. Really. THIS is destructive behavior, form you. Destructive behavior to the spirit of free software. To give, not to destroy! It should be the users choise to enable this. It is the philosophy of any UNIX software to allow the user to do everything (destructive) he wants to do. Teading the other bugs and discussions, it seems as this is some kind of private argument between Martin Gräßlin's private opinions and the rest of the user base. Unfortunately the argumentation was with full of emotions. Personally, I'm worried if I read in any free software an argument that says "I've gave it to you so I can remove it whenever I want". That is destructive, indeed. Back to topic: Any environment, where KDE can be run, is a native multi-user environment. So every user can (and must) have its own account, settings, configuration - even if it is just a guest account - and sould be able to configure its behavior as he wants to be. And if I want to be able to middle-click-close a window, you should leave this decision to me. "I don't think I have to justify the decision." is the thing, that is destructive to anyone that uses KDE. Because it makes KDE a plaything of some contributors. Something you cannot rely on. Do you want to be KDE to be something you cannot rely on? Because features are removed because of personal opinions without justification or discussion? The ability to close the window with a middle-click was re-added a while back, and the new QML-based Present Windows effect retains that. |