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

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

    <bug>
          <bug_id>47539</bug_id>
          
          <creation_ts>2023-09-12 19:22:30 +0300</creation_ts>
          <short_desc>goneko: wayland support</short_desc>
          <delta_ts>2023-09-14 21:14:26 +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>goneko</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="aibure@altlinux.org">aibure</assigned_to>
          <cc>aibure</cc>
    
    <cc>ancieg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>232960</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2023-09-12 19:22:30 +0300</bug_when>
    <thetext>В wayland-сессии котяра игнорирует курсор. Прошу исправить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232962</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Zhukharev">ancieg</who>
    <bug_when>2023-09-12 22:10:20 +0300</bug_when>
    <thetext>https://packages.altlinux.org/en/tasks/329423/

Неясная проблема с go-пакетом glfw, который пишет иного подобного в терминал:

2023/09/12 22:09:01 PlatformError: Wayland: Window position retrieval not supported
2023/09/12 22:09:01 PlatformError: Wayland: Window position setting not supported

Думаю, что из-за этого котяра и игнорирует курсор в Wayland-сессии.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233226</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Zhukharev">ancieg</who>
    <bug_when>2023-09-14 21:14:26 +0300</bug_when>
    <thetext>https://github.com/go-gl/glfw/blob/master/v3.3/glfw/glfw/src/wl_window.c#L1957

void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos)
{
    // A Wayland client is not aware of its position, so just warn and leave it
    // as (0, 0)

    _glfwInputError(GLFW_PLATFORM_ERROR,
                    &quot;Wayland: Window position retrieval not supported&quot;);
}

void _glfwPlatformSetWindowPos(_GLFWwindow* window, int xpos, int ypos)
{
    // A Wayland client can not set its position, so just warn

    _glfwInputError(GLFW_PLATFORM_ERROR,
                    &quot;Wayland: Window position setting not supported&quot;);
}</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>