D23415: Improve comprehensibility and consistency of window placement mode names
Vlad Zagorodniy
noreply at phabricator.kde.org
Tue Aug 27 05:39:25 BST 2019
zzag requested changes to this revision.
zzag added a comment.
This revision now requires changes to proceed.
In D23415#519223 <https://phabricator.kde.org/D23415#519223>, @cfeck wrote:
> Is zero corner top-right on RTL systems?
No, this placement policy doesn't take into account writing system.
In D23415#519103 <https://phabricator.kde.org/D23415#519103>, @ngraham wrote:
> I've standardized on the descriptive mood now. But I have not reverted back to "Smart" because it's simply a bad name, and it doesn't make sense to keep it. It doesn't matter what the feature is called internally, and how long it's had that name is irrelevant if it's a bad name. And "Smart" is a bad name because unlike all the other window placement modes, it is a generic meaningless term whose name does not explain or hint at what it will do. User-visible strings are crafted for the benefit of the user, not the developer.
>
> Also I don't think renaming the enums is a good idea:
>
> - If the point is to retain naming consistency throughout the codebase, then we'd need to update the strings written to and read from the config files as well, which would necessitate a kconf update script, which seems like total overkill; no other KDE project imposes such a high bar for simple string changes
> - If, to avoid the above, we just rename the enums but not all occurrences in the codebase, then we haven't actually maintained consistency, and there's no point in doing any code renaming at all
I didn't say to touch serialized config values. I said only to adjust enum names. that's it.
In D23415#519226 <https://phabricator.kde.org/D23415#519226>, @ndavis wrote:
> Catchiness is important if you're going to use it for marketing, but you never see KDE promoting the smart placement feature and people on forums rarely talk about it. Just because it has had a bad name since 1999, doesn't mean it should continue to be bad for another 20 years.
This placement policy has been called "smart" for two decades. Many people are used to this name and I don't want to change things for old-school or current users.
I get your point about the name not being very descriptive but if you really want to make these names intuitive, then there should be some demo along the placement policy combobox in the kcm.
I don't want to discuss this topic anymore because we won't find common ground. Don't rename smart placement policy!
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D23415
To: ngraham, #kwin, #vdg, ndavis, filipf, zzag
Cc: romangg, cfeck, filipf, zzag, ndavis, kwin, kde-doc-english, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, gennad, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, skadinna, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190827/d8a66323/attachment.html>
More information about the kwin
mailing list