Bug 328984 - "DecorationPositon" behavior seems to be wrong
Summary: "DecorationPositon" behavior seems to be wrong
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (other bugs)
Version First Reported In: 4.11.5
Platform: Kubuntu Linux
: NOR minor
Target Milestone: 5
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-18 22:34 UTC by FabiB
Modified: 2021-12-06 04:38 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FabiB 2013-12-18 22:34:54 UTC
for the aurorae engine there is an option to se the decoration "title" to any side you want, via 
"DecorationPosition" http://techbase.kde.org/User:Mgraesslin/Aurorae#Decoration_Position. for example
DecorationPosition=1 is decoration of the left. this one works very well. the problem is now that the buttons and the title text string will remain on the window top. so they are not usable anymore, wich is very bad and needs to be fixed.

since this breaks a feature (you will not find any theme that it use this, because of this broken behaivior) for theme creator i'll mark it as 'major feature broken'

Reproducible: Always

Steps to Reproduce:
1. download some new kwin decoration (aurorae decorations)
2. go to the config directory and look for the theme folder
3. open the <themename>+rc
4. paste something like this in it: http://pastebin.kde.org/pfdxv1ygo
important parts to know http://techbase.kde.org/User:Mgraesslin/Aurorae#Decoration_Position
5. now enable the theme
Actual Results:  
window is now movable with the left border, buttons remain on the top

Expected Results:  
buttons should follow to the left
Comment 1 Martin Flöser 2013-12-19 08:17:20 UTC
> you will not find any theme that it use this, because of this broken behaivior
in that case you are wrong. I know that the feature broke when I ported it to QML and I didn't spend time on it, because there was no theme which made use of it. Given that I concluded that it was a nice idea, but is not used.

Due to changes in the QML implementation between 4.11 and master, this won't be fixed in 4.11. Whether I spent time on it for the master branch I do not know yet.
Comment 2 Robert 2018-07-16 19:57:34 UTC
I would like to express my support/vote for this to be implemented. With today's widescreen monitors, vertical screen real-estate is at a premium, many apps pile on additional layers (like a web browser: menus, tabs, search-bar, etc).

I've spent my whole day trying to find a window manager that supports a "titlebar on the left", and was elated to find even the (know known to be broken) titlebarPosition mechanics, and after *NEARLY* giving up (after far too many hours tracing through the unfamiliar kwin source code) I was elated to find the DecoratorPosition attribute (which does not share the 'title bar' identifier), frustrated at my inability to locate a theme that uses it, at own experimentation of it being broken (in fact, a bit worse than FabiB reports), and ultimately found my way to this bug entry (as I came here to file such a ticket myself).

Much thanks to Martin's specificity, that I can now, at least, track down an old (or specialized) distro to test this interface design with a precise version number (<=4.10)!

I also appreciate (having actually *LOOKED* at the source code), that this support has not been ripped out.

I didn't want to silently pass by this ticket, because if everyone does, there would be no feedback/demand for this feature.

If I might make a minor request... please replace the TODO questioning the removal of this feature:
* kwin/abstract_client.cpp @ 565
* https://github.com/KDE/kwin/blob/5b4eb80c8fdb6ea72c6046389578421b00824c6f/abstract_client.cpp#L565

...with a link to this ticket. That would have saved me so much time!
Comment 3 kde.org 2021-11-06 21:25:16 UTC
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Comment 4 Bug Janitor Service 2021-11-21 04:38:44 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 5 Bug Janitor Service 2021-12-06 04:38:07 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!