<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>57030</bug_id>
          
          <creation_ts>2025-11-26 19:38:55 +0300</creation_ts>
          <short_desc>Ошибка при создании макроса BeanShell</short_desc>
          <delta_ts>2025-12-30 11:34:14 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libreoffice</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Белая Алёна">belayaav</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>george</cc>
    
    <cc>iv</cc>
    
    <cc>klesovnk</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>277905</commentid>
    <comment_count>0</comment_count>
    <who name="Белая Алёна">belayaav</who>
    <bug_when>2025-11-26 19:38:55 +0300</bug_when>
    <thetext>libreoffice-25.8.3.2-alt2
bsh-2.1.0-alt1_5jpp11

Стенды:
Alt Education XFCE|KDE 11.0 x86_64
Alt Workstation K 11.1.1 x86_64
Alt Workstation 11.1 x86_64

Шаги воспроизведения: 
1. Установить пакет bsh
# apt-get install bsh
1. Запустить libreoffice calc
2. Создать макрос: 
Открыть документ ods -&gt; Сервис -&gt; Макросы -&gt; Управления макросами -&gt; BeanShell -&gt; выбрать &quot;Мои макросы&quot; -&gt; Создать -&gt; имя &quot;Test&quot; -&gt; Создать -&gt; ввести имя &quot;helloworld&quot; -&gt; ОК -&gt; Правка 

Ожидаемый результат: запускается окно для редактирования макроса

Результат: ничего не открывается, в оутпуте консоли указано, что случился exception:
Exception in thread &quot;AWT-EventQueue-0&quot; java.awt.HeadlessException: 
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it.
        at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:164)
        at java.desktop/java.awt.Window.&lt;init&gt;(Window.java:553)
        at java.desktop/java.awt.Frame.&lt;init&gt;(Frame.java:428)
        at java.desktop/javax.swing.JFrame.&lt;init&gt;(JFrame.java:224)
        at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell.initUI(ScriptEditorForBeanShell.java:273)
        at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell.&lt;init&gt;(ScriptEditorForBeanShell.java:259)
        at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell.&lt;init&gt;(ScriptEditorForBeanShell.java:52)
        at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell$1.run(ScriptEditorForBeanShell.java:211)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Проблема воспроизводится как в Wayland, так и в X11

Если компонент указан неправильно, прошу уточнить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277910</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-11-26 22:01:43 +0300</bug_when>
    <thetext>&gt; Assignee: iv@altlinux.org → shrek@altlinux.org

Как интересно работает кнопка &quot;reset assignee to default&quot;.

Перевешиваю на лидера ACL пакета.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279826</commentid>
    <comment_count>2</comment_count>
    <who name="Клёсов Никита Константинович">klesovnk</who>
    <bug_when>2025-12-30 11:34:14 +0300</bug_when>
    <thetext>Актуально для libreoffice-24.2.3.2-alt1. p11.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>