<br><br><div class="gmail_quote">2010/4/2 Aaron J. Seigo <span dir="ltr"><<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On April 1, 2010, Ivan Ruchkin wrote:<br>
> 2010/3/31 Aaron J. Seigo <<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>><br>
><br>
> > On March 30, 2010, Ivan Ruchkin wrote:<br>
> > > 2010/3/29 Aaron J. Seigo <<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>><br>
> > ><br>
> > > > On March 28, 2010, you wrote:<br>
> > > > > My name is Ivan, I'd like to improve global Mac-OS style menu bar<br>
> > > > > as<br>
> ><br>
> > my<br>
> ><br>
> > > > > GSoC project.<br>
> > > > > Can you please point me to the development code of it?<br>
> > > > > How does it corellate with XBar plasmoid?<br>
> > > ><br>
> > > > there is a fairly old start to such a plasmoid in:<br>
> > > > /trunk/playground/base/plasma/applets/menubar/<br>
> > > ><br>
> > > > it has no relation to the xbar plasmoid, which only works with<br>
> > > > bespin.<br>
> > > ><br>
> > > > done "right", i think what really ought to happen is this:<br>
> > > ><br>
> > > > * add a "global menubar" option to the Desktop -> Workspace control<br>
> ><br>
> > panel<br>
> ><br>
> > > > in<br>
> > > > system settings<br>
> > ><br>
> > > That seems more or less clear. That's systemsettings application<br>
> > > (kdebase/workspace/systemsettings). But where can I find code that<br>
> > > configures the exact panel "Desktop->Workspace"?<br>
> > ><br>
> > > > * create a Plasma::Containment of type Panel for the menubar; it<br>
> > > > would<br>
> ><br>
> > be<br>
> ><br>
> > > > much<br>
> > > > like the current Panel containment, but it would have the<br>
> ><br>
> > implementation<br>
> ><br>
> > > > of the menubar directly inside it, and it would arrange other<br>
> > > > plasmoids around it. this means that the menubar itself wouldn't be<br>
> > > > so much a separate plasmoid<br>
> > > > as it would a Plasma::Contaiment. this would go into<br>
> > > > kdebase/workspace/plasma/desktop/containments/.<br>
> > ><br>
> > > So, that's a subclass of Plasma::Containment, but most of code is<br>
> > > copied from Panel and some special features added?<br>
> ><br>
> > yes. (not that there is all that much code in the Panel containment; and<br>
> > some<br>
> > of what is there could probably be done cleaner at this point)<br>
><br>
> And then KDE applications should add their applet-menus into the menubar<br>
> containment?<br>
><br>
> Or maybe a special interface should be created for adding something like<br>
> QMenu there and encapsulate applet creation inside menubar?<br>
<br>
</div></div>there are a few approaches to this, including using xembed or a dbus based<br>
system (e.g. where the active window can be queried for its top level menubar<br>
entries, and a signal sent to the application to show the corresponding menu<br>
in the correct location when it is activated). perhaps look at how bespin is<br>
doing this currently, how the menubar kick applet in kde3 did it and perhaps<br>
look at how other systems on x11 do this (if any do?)<br></blockquote><div><br>Why can't we just take the dbus client-server mechanism from Bespin and XBar? Menubar containment will serve as server and every application as a client.<br>
<br>Or that's not in scope of that project?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
> > > About keeping it always on the top of screen: maybe the position (top<br>
> > > or botton) of menubar should be configured in control panel as well?<br>
> ><br>
> > does it make any sense to have the menubar at the bottom of the screen?<br>
> > (certainly doesn't on the left/right, we know that much for sure ;)<br>
><br>
> As for me, I keep a panel with taskbar and icons in the top of screen, so I<br>
> may want to have menubar in the bottom. Sounds wild, but why not..?<br>
<br>
</div>because offering configuration options that make no sense is inelegant and<br>
comes at a cost to testability, quality and usability.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Development Frameworks<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</div></div></blockquote></div><br>