[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    D10461: GMenu-DBusMenu-Proxy
From:       Kai Uwe Broulik <noreply () phabricator ! kde ! org>
Date:       2018-02-14 9:05:03
Message-ID: 20180214090503.1.1DABB89FE2FB7D1F () phabricator ! kde ! org
[Download RAW message or body]

broulik added a comment.


  Hi Konstantin,
  thank you very much for your input!
  
  > One can be missing, and then incomplete menu should render:
  
  In Plasma we don't typically use this separate "app menu" (although I'd like to do \
that but as a separate menu), so what I do is I show the menu bar and if that is not \
there I'll try the app menu. I never show both of them at once to be consistent with \
KDE apps that only have a menu.  
  > c) If both are missing, you will not see a menu (Protocol is incorrect)
  
  I don't understand. Incorrect on my side? When both menus are missing where should \
I get the menu from?  
  > Unity (_UNITY_OBJECT_PATH, prefix unity) - it is non-standard, but widely used \
action path for set a Unity actions (when window actions is not supported by app \
developer). It is object path supported by unity-gtk-module and appmenu-gtk-module.  
  I was already wondering what the `unity.` prefixed actions I saw mentioned in a \
script I looked at. I just installed `unity-gtk2-module` and tried with some GTK2 \
apps but I don't see any new window properties. What else do I need to get GTK2 \
working? (Also given Unity is basically dead and a Ubuntu-specifica, won't really \
help us on non-*buntu distributions, right?)  
  > If any of this are missing, this menu items should be rendered as disabled. But \
if menu using actions only from one category - it can be used as a normal menu. \
Setting this all is not required for functional menu. One will be enough, if menu is \
using actions only from one group.  
  You mean that I don't neccessarily need both application and window actions in case \
the menu just uses application actions? I'll fix that.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D10461

To: broulik, #plasma
Cc: rilian, mtallur, ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, \
ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


[Attachment #3 (unknown)]

<table><tr><td style="">broulik added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: \
right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: \
#F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: \
inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D10461" rel="noreferrer">View \
Revision</a></tr></table><br /><div><div><p>Hi Konstantin,<br /> thank you very much \
for your input!</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: \
italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>One \
can be missing, and then incomplete menu should render:</p></blockquote>

<p>In Plasma we don&#039;t typically use this separate &quot;app menu&quot; (although \
I&#039;d like to do that but as a separate menu), so what I do is I show the menu bar \
and if that is not there I&#039;ll try the app menu. I never show both of them at \
once to be consistent with KDE apps that only have a menu.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: \
italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>c) If \
both are missing, you will not see a menu (Protocol is incorrect)</p></blockquote>

<p>I don&#039;t understand. Incorrect on my side? When both menus are missing where \
should I get the menu from?</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: \
italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Unity \
(_UNITY_OBJECT_PATH, prefix unity) - it is non-standard, but widely used action path \
for set a Unity actions (when window actions is not supported by app developer). It \
is object path supported by unity-gtk-module and appmenu-gtk-module.</p></blockquote>

<p>I was already wondering what the <tt style="background: #ebebeb; font-size: \
13px;">unity.</tt> prefixed actions I saw mentioned in a script I looked at. I just \
installed <tt style="background: #ebebeb; font-size: 13px;">unity-gtk2-module</tt> \
and tried with some GTK2 apps but I don&#039;t see any new window properties. What \
else do I need to get GTK2 working? (Also given Unity is basically dead and a \
Ubuntu-specifica, won&#039;t really help us on non-*buntu distributions, right?)</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: \
italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>If \
any of this are missing, this menu items should be rendered as disabled. But if menu \
using actions only from one category - it can be used as a normal menu. Setting this \
all is not required for functional menu. One will be enough, if menu is using actions \
only from one group.</p></blockquote>

<p>You mean that I don&#039;t neccessarily need both application and window actions \
in case the menu just uses application actions? I&#039;ll fix \
that.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma \
Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D10461" \
rel="noreferrer">https://phabricator.kde.org/D10461</a></div></div><br \
/><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>rilian, \
mtallur, ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, \
jensreuterberg, abetts, sebas, apol, mart<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic