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

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

    <bug>
          <bug_id>55477</bug_id>
          
          <creation_ts>2025-08-04 12:58:35 +0300</creation_ts>
          <short_desc>Работает только при запуске из командной строки.</short_desc>
          <delta_ts>2026-04-08 17:55:52 +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>flameshot</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Константин Палачев">pku</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
    
    <cc>kostevichae</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>270359</commentid>
    <comment_count>0</comment_count>
    <who name="Константин Палачев">pku</who>
    <bug_when>2025-08-04 12:58:35 +0300</bug_when>
    <thetext>При запуске из командной строки приложение работает.
Если запустить из меню - &quot;Не удается сделать снимок&quot;
Альт рабочая станция 11.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270796</commentid>
    <comment_count>1</comment_count>
    <who name="Kostevich Arseniy">kostevichae</who>
    <bug_when>2025-08-12 18:49:47 +0300</bug_when>
    <thetext>Воспроизводится на Workstation 11.0, обновлённой до Sisyphus, версия пакета: flameshot-12.1.0-alt2.1

На Workstation K 11.0 не воспроизводится.

При появлении ошибки &quot;Не удается сделать снимок&quot; в логах сообщения:
xdg-desktop-por[2561]: Failed to associate portal window with parent window 
xdg-desktop-por[2506]: Failed to show access dialog: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Only the focused app is allowed to show a system access dialog
org.flameshot.Flameshot.desktop[3612]: flameshot: error: Не удалось захватить экран
org.flameshot.Flameshot.desktop[3612]: flameshot: error: Не удалось захватить экран


В один из нескольких раз дополнительно появилась такая ошибка:
xdg-desktop-por[2848]: Failed to associate portal window with parent window
gnome-shell[2162]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
                      AccessDialogAsync@resource:///org/gnome/shell/ui/accessDialog.js:148:28
                      _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
                      _wrapJSObject/&lt;@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
                      @resource:///org/gnome/shell/ui/init.js:21:20
systemd[1]: systemd-timedated.service: Deactivated successfully.
xdg-desktop-por[2810]: Failed to show access dialog: Истекло время ожидания
org.flameshot.Flameshot.desktop[3612]: flameshot: error: Не удалось захватить экран
org.flameshot.Flameshot.desktop[3612]: flameshot: error: Не удалось захватить экран</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285415</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2026-04-08 17:55:52 +0300</bug_when>
    <thetext>В версии 14.0.rc1 всё должно работать.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>