• Multiple applications with libappindicator fails since Bullseye

    From Bastien Sevajol@21:1/5 to All on Thu Aug 18 11:30:01 2022
    This is a multi-part message in MIME format.
    Hello here,

    I just joined the mailing list to explore a recent problem about
    applications using |libappindicator| on Bullseye.

    I'm the developer of open source trsync <https://github.com/buxx/trsync> application which use a systray icon. I noticed that my program fail to
    display its systray icon and an error message printed instead :

    |gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed |

    I noticed various programs are concerned :

    *

    https://github.com/olback/tray-item-rs/issues/23
    <https://github.com/tauri-apps/tao/issues/534>

    *

    https://github.com/tauri-apps/tao/issues/534
    <https://github.com/tauri-apps/tao/issues/534>

    These programs are wrote in Rust language and uses libappindicator crate <https://docs.rs/crate/libappindicator/latest> which fail too. I can see
    Debian 11 replaced |libappindicator| by |libayatana|-indicator, cf
    announcement <https://lists.debian.org/debian-devel/2018/03/msg00506.html>.

    I am not comfortable with "low level" and announcement content. But, I
    think I understand |libayatana-indicator| is not a breaking change and
    should be compatible ? Do you have some information about that here ?

    Thanks in advance, I hope to be on the right mailing list :)

    bux.

    <html>
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>Hello here,</p>
    <p>I just joined the mailing list to explore a recent problem about
    applications using <code class="_34q3PgLsx9zIU5BiSOjFoM">libappindicator</code>
    on Bullseye.</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">I'm the developer of open source
    <a href="https://github.com/buxx/trsync"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc"
    target="_blank">trsync</a> application which use a systray icon.
    I noticed that my program fail to display its systray icon and an
    error message printed instead :</p>
    <pre class="_3GnarIQX9tD_qsgXkfSDz1"><code class="_34q3PgLsx9zIU5BiSOjFoM">gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
    </code></pre>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">I noticed various programs are
    concerned :</p>
    <ul class="_33MEMislY0GAlB78wL1_CR">
    <li class="_3gqTEjt4x9UIIpWiro7YXz">
    <p class="_1qeIAgB0cPwnLhDF9XSiJM"><a
    href="https://github.com/tauri-apps/tao/issues/534"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc"
    target="_blank">https://github.com/olback/tray-item-rs/issues/23</a></p>
    </li>
    <li class="_3gqTEjt4x9UIIpWiro7YXz">
    <p class="_1qeIAgB0cPwnLhDF9XSiJM"><a
    href="https://github.com/tauri-apps/tao/issues/534"
    class="_3t5uN8xUmg0TOwRCOGQEcU moz-txt-link-freetext"
    rel="noopener nofollow ugc" target="_blank">https://github.com/tauri-apps/tao/issues/534</a></p>
    </li>
    </ul>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">These programs are wrote in Rust
    language and uses <a
    href="https://docs.rs/crate/libappindicator/latest"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc"
    target="_blank">libappindicator crate</a> which fail too. I can
    see Debian 11 replaced <code class="_34q3PgLsx9zIU5BiSOjFoM">libappindicator</code>
    by <code class="_34q3PgLsx9zIU5BiSOjFoM">libayatana</code>-indicator,
    cf <a
    href="https://lists.debian.org/debian-devel/2018/03/msg00506.html"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc"
    target="_blank">announcement</a>.</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">I am not comfortable with "low
    level" and announcement content. But, I think I understand <code
    class="_34q3PgLsx9zIU5BiSOjFoM">libayatana-indicator</code> is
    not a breaking change and should be compatible ? Do you have some
    information about that here ?</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">Thanks in advance, I hope to be
    on the right mailing list :)</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">bux.<br>
    </p>
    <p></p>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastien Sevajol@21:1/5 to All on Thu Aug 18 12:50:01 2022
    This is a multi-part message in MIME format.
    Seems solution is here : https://github.com/emirror-de/libayatana-appindicator-rs/issues/2#issuecomment-1219227056
    !

    Le 18/08/2022 à 09:01, Bastien Sevajol a écrit :

    Hello here,

    I just joined the mailing list to explore a recent problem about
    applications using |libappindicator| on Bullseye.

    I'm the developer of open source trsync
    <https://github.com/buxx/trsync> application which use a systray icon.
    I noticed that my program fail to display its systray icon and an
    error message printed instead :

    |gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed |

    I noticed various programs are concerned :

    *

    https://github.com/olback/tray-item-rs/issues/23
    <https://github.com/tauri-apps/tao/issues/534>

    *

    https://github.com/tauri-apps/tao/issues/534
    <https://github.com/tauri-apps/tao/issues/534>

    These programs are wrote in Rust language and uses libappindicator
    crate <https://docs.rs/crate/libappindicator/latest> which fail too. I
    can see Debian 11 replaced |libappindicator| by
    |libayatana|-indicator, cf announcement <https://lists.debian.org/debian-devel/2018/03/msg00506.html>.

    I am not comfortable with "low level" and announcement content. But, I
    think I understand |libayatana-indicator| is not a breaking change and
    should be compatible ? Do you have some information about that here ?

    Thanks in advance, I hope to be on the right mailing list :)

    bux.

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>Seems solution is here :
    <a class="moz-txt-link-freetext" href="https://github.com/emirror-de/libayatana-appindicator-rs/issues/2#issuecomment-1219227056">https://github.com/emirror-de/libayatana-appindicator-rs/issues/2#issuecomment-1219227056</a>
    !<br>
    </p>
    <div class="moz-cite-prefix">Le 18/08/2022 à 09:01, Bastien Sevajol
    a écrit :<br>
    </div>
    <blockquote type="cite"
    cite="mid:c1364784-029b-b64c-55f7-3edc6f5a1acb@bux.fr">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <p>Hello here,</p>
    <p>I just joined the mailing list to explore a recent problem
    about applications using <code class="_34q3PgLsx9zIU5BiSOjFoM">libappindicator</code>
    on Bullseye.</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">I'm the developer of open
    source <a href="https://github.com/buxx/trsync"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc"
    target="_blank" moz-do-not-send="true">trsync</a> application
    which use a systray icon. I noticed that my program fail to
    display its systray icon and an error message printed instead :</p>
    <pre class="_3GnarIQX9tD_qsgXkfSDz1"><code class="_34q3PgLsx9zIU5BiSOjFoM">gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
    </code></pre>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">I noticed various programs are
    concerned :</p>
    <ul class="_33MEMislY0GAlB78wL1_CR">
    <li class="_3gqTEjt4x9UIIpWiro7YXz">
    <p class="_1qeIAgB0cPwnLhDF9XSiJM"><a
    href="https://github.com/tauri-apps/tao/issues/534"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow
    ugc" target="_blank" moz-do-not-send="true">https://github.com/olback/tray-item-rs/issues/23</a></p>
    </li>
    <li class="_3gqTEjt4x9UIIpWiro7YXz">
    <p class="_1qeIAgB0cPwnLhDF9XSiJM"><a
    href="https://github.com/tauri-apps/tao/issues/534"
    class="_3t5uN8xUmg0TOwRCOGQEcU moz-txt-link-freetext"
    rel="noopener nofollow ugc" target="_blank"
    moz-do-not-send="true">https://github.com/tauri-apps/tao/issues/534</a></p>
    </li>
    </ul>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">These programs are wrote in
    Rust language and uses <a
    href="https://docs.rs/crate/libappindicator/latest"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc"
    target="_blank" moz-do-not-send="true">libappindicator crate</a>
    which fail too. I can see Debian 11 replaced <code
    class="_34q3PgLsx9zIU5BiSOjFoM">libappindicator</code> by <code
    class="_34q3PgLsx9zIU5BiSOjFoM">libayatana</code>-indicator,
    cf <a
    href="https://lists.debian.org/debian-devel/2018/03/msg00506.html"
    class="_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc"
    target="_blank" moz-do-not-send="true">announcement</a>.</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">I am not comfortable with "low
    level" and announcement content. But, I think I understand <code
    class="_34q3PgLsx9zIU5BiSOjFoM">libayatana-indicator</code> is
    not a breaking change and should be compatible ? Do you have
    some information about that here ?</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">Thanks in advance, I hope to be
    on the right mailing list :)</p>
    <p class="_1qeIAgB0cPwnLhDF9XSiJM">bux.<br>
    </p>
    </blockquote>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)