Registered Member
|
This is a rather complex idea to implement, however, I think it would be a lot better in the long run.
Right now, KWin draws the decoration of all Windows, however, this isn't the best approach, if the application itself could draw the window decoration it would open many doors (like having, both, the menubar and the window tittle in the same row), it will also make theming KDE a lot more flexible. KWin should only handle window management, and it should have a "fallback" decoration for application that doesn't draw the border (aka, all non-kde apps in this particular scenario).
augustofretes, proud to be a member of KDE forums since 2008-Nov.
|
KDE Developer
|
That would make decorations quite inconsistent. Better might be to have some kind of communication between application and decoration plugin, so that it can embed a menu. A bit like the global menu bar works. Applications which really want to do weird stuff can always ask the window manager to not do a decoration and fortunately the window manager can, e.g. at the user's request, still ignore that. Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
No,if the application itself draws it, and by domino effect, the theme, it would look as consistent as theme developers wants, also, it doesn't change anything if the developer decides to, but it opens many possibilities without taking anything .
Seems harder, and more like a workaround. I never got why the Window Manager had to draw the decoration.
That's true, however, I doesn't necessarily means crazy stuff, it will make the life a LOT more easier to theme developers, since they will be able to get the desire look (and more variations on per application basis) to their designs.
Last edited by augustofretes on Tue Apr 14, 2009 8:27 am, edited 1 time in total.
augustofretes, proud to be a member of KDE forums since 2008-Nov.
|
Administrator
|
It would be inconsistent, since the application would follow the theme specified by the Desktop environment it uses, or goes completely custom and doesn't fit in at all. Not to mention that different icons would be used ( and spacings / fonts ), and legacy applications.
It will make it harder for theme developers since they have to take into account the limitations placed on them by all toolkits they wish to support / the specification supports. It will also prevent them from doing the really cool things which can only be done in code.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Wouldn't the solution be to let application ask for drawing decoration itself ?
I mean, for exemple, Google Chrome : in the actual state of things, I think it's impossible to have the exact same Google Chrome on Linux than on Windows, because of the decoration. Some application may wants not to fit the theme of their environment... and some people like that also. So it would be good that application could ask to handle this alone, and still communicate with Kwin so the 3D effect would still be enabled (like with iTunes or Google Chrome : no decoration, but still 3D effect... whereas the linux native applications who gets decorate by themselves can't use 3D effect, right ?). |
Administrator
|
Which 3D effects? I have some applications that draw their own window decoration (XMMS to name one), and the kwin effects work fine for those windows too.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered Member
|
I'm not sure what this is supposed to solve, since programs today can decide not to use window decorations if they so choose. Or use their own ones. Audacious and KsCD are two apps that springs immediately to mind, not to mention some air-apps.
Putting the menubar straight in the menu bar is the only use-case I can really think of. Or think of is maybe not the best way of putting it since it was used as an example... Still, I'm thinking that a better solution would be a plasma-windeco. That is, a windeco that can be provided the look from the plasma-theme in use.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered Member
|
There is many other case.
Just take a look at iTunes and Google Chrome : you can move the Windows by clicking anywhere that is not a widget. |
Registered Member
|
That's not exactly limited to those apps...in KDE, hold down alt and you can drag any app that way no matter if it's a KDE app or not.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered Member
|
It isn't the same. You need to press a button, on OS X you can move them by dragging the window from any empty space (Bespin has a hack to behave like this). --------- Theming limitations? Theming will be greatly improved if this could be implemented, a lot more freedom imho.
augustofretes, proud to be a member of KDE forums since 2008-Nov.
|
Registered Member
|
Perhaps there should be a wishlist item for this, then.
But as people have said, applications can already do this, and users can override it if they want. Too much freedom is not necessarily a good thing if you want things to be consistent.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Registered Member
|
You can't do it. Yes, you can make your own borders and ask KWin to not draw window decoration, but if it isn't KDE wide, it doesn't mean anything for the theme developers.
augustofretes, proud to be a member of KDE forums since 2008-Nov.
|
Registered Member
|
Well, that sounds like a kwin feature request to me: being able to drag windows from an arbitrary point without a keypress. One I'd like as well. Still, I fail to see the connection between letting the application being in charge of the windeco and being able to drag the window from an arbitrary point. Since that arbitrary point is just that, arbitrary, it doesn't have to be in the border and so isn't necessarily connected to the border - whether or not the border is decorated by kwin or the app itself.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered Member
|
And how would that work for non-KDE apps? My guess is that those would look rather out-of-place (kinda like Windows apps using wine does. Stick out like a sore thumb).
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered Member
|
Just like they do now. KWin could just draw a windeco for those (a fallback, workaround, far from ideal I agree), also, there's a similar idea promoted by MacSlow on the GNOME land.
Last edited by augustofretes on Tue Apr 14, 2009 10:01 pm, edited 1 time in total.
augustofretes, proud to be a member of KDE forums since 2008-Nov.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot]