https://bugs.kde.org/show_bug.cgi?id=488602

            Bug ID: 488602
           Summary: Menus
    Classification: Applications
           Product: krita
           Version: 5.2.2
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: angel.of.ba...@gmail.com
  Target Milestone: ---

Created attachment 170561
  --> https://bugs.kde.org/attachment.cgi?id=170561&action=edit
Screenshot of menu being placed on a different monitor from the window being
clicked on

SUMMARY
Menus for window appear on a different sometimes appears on a different
monitor. (See attached screenshot)
This behavior does not occur immediately during startup- it seems to only occur
after having been away from the screen/program for some time (testing it to see
if it would occur upon sleep & reawaken, or if I set the Windows screen power
down to 1 minute and then return, did not produce the issue). Restarting Krita
fixes the issue temporarily.

STEPS TO REPRODUCE
1. Open Krita on a system with multiple monitors. 
2. Let time pass? It usually occurs when I return to my computer after leaving
it long enough for the screen to power down (25 minutes+) I am unsure of the
exact triggering mechanism (something about the screen power down functionality
perhaps? Something Krita is doing as a background task during that time?), so
I'm sorry I cannot be more precise. 
3. Return to Krita, click on any of the top menus.

OBSERVED RESULT
The menu appears on a different monitor (Windows' designated "Main Screen")
from the Krita window. 

EXPECTED RESULT
The menu appears on the same monitor as the Krita window.

SOFTWARE/OS VERSIONS
Windows:  Windows 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I don't know if it's relevant, but this seems to occur mostly on my Cintiq
screen (using DVI with an HDMI adaptor) and while it doesn't occur on my other
secondary monitor (the others are DisplayPort). (IE: menus will appears in the
correct spots on the left monitor(main screen) & on the right monitor (a
secondary screen), but not on the Cintiq)
I also usually paint with a setup with 1 Krita window on the Cintiq, and
another Krita window on one of the secondary monitors, with a duplicated view
of what's on the Cintiq monitor. I don't think that's a factor, but it could be
for all I know. 



Krita

 Version: 5.2.2
 Installation type: installer / portable package
 Hidpi: false

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.19045
  Pretty Productname: Windows 10 Version 2009
  Product Type: windows
  Product Version: 10

Locale

  Languages: en_US, en, en_Latn_US
  C locale: C
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8
  Process ACP: 65001 (UTF-8)
  System locale default ACP: 1252  (ANSI - Latin I)

OpenGL Info

  Vendor:  "Google Inc. (NVIDIA)" 
  Renderer:  "ANGLE (NVIDIA, NVIDIA GeForce RTX 2070 SUPER Direct3D11 vs_5_0
ps_5_0, D3D11-31.0.15.3623)" 
  Driver version:  "OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash:
f2280c0c5f93+krita_qt5)" 
  Shading language:  "OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0 git hash:
f2280c0c5f93+krita_qt5)" 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8,
greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8,
samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0,
colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::NoProfile) 
  Current format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8,
greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8,
samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0,
colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::NoProfile) 
  GL version: 3.0 
  Supports deprecated functions false 
  Is OpenGL ES: true 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: true 
  Extensions: 
     GL_EXT_unpack_subimage 
     GL_OES_texture_half_float 
     GL_OES_texture_border_clamp 
     GL_OES_compressed_EAC_R11_signed_texture 
     GL_CHROMIUM_bind_uniform_location 
     GL_EXT_draw_buffers 
     GL_EXT_debug_marker 
     GL_OES_compressed_ETC2_sRGB8_texture 
     GL_OES_packed_depth_stencil 
     GL_EXT_draw_elements_base_vertex 
     GL_ANGLE_get_tex_level_parameter 
     GL_ANGLE_translated_shader_source 
     GL_ANGLE_client_arrays 
     GL_EXT_blend_minmax 
     GL_OES_texture_float 
     GL_EXT_texture_compression_rgtc 
     GL_ANGLE_program_cache_control 
     GL_OES_compressed_ETC2_RGB8_texture 
     GL_ANGLE_base_vertex_base_instance 
     GL_EXT_discard_framebuffer 
     GL_ANGLE_memory_size 
     GL_OES_draw_elements_base_vertex 
     GL_ANGLE_depth_texture 
     GL_KHR_debug 
     GL_EXT_texture_storage 
     GL_WEBGL_video_texture 
     GL_ANGLE_pack_reverse_row_order 
     GL_ANGLE_robust_client_memory 
     GL_EXT_texture_compression_dxt1 
     GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture 
     GL_CHROMIUM_copy_texture 
     GL_KHR_parallel_shader_compile 
     GL_ANGLE_get_serialized_context_string 
     GL_EXT_instanced_arrays 
     GL_ANGLE_texture_multisample 
     GL_OES_texture_stencil8 
     GL_ANGLE_instanced_arrays 
     GL_ANGLE_texture_usage 
     GL_EXT_blend_func_extended 
     GL_OES_depth32 
     GL_OVR_multiview 
     GL_EXT_texture_format_BGRA8888 
     GL_OES_compressed_ETC2_RGBA8_texture 
     GL_OES_element_index_uint 
     GL_OES_compressed_EAC_R11_unsigned_texture 
     GL_OES_rgb8_rgba8 
     GL_NV_pack_subimage 
     GL_OES_standard_derivatives 
     GL_EXT_texture_compression_bptc 
     GL_EXT_texture_rg 
     GL_ANGLE_provoking_vertex 
     GL_NV_framebuffer_blit 
     GL_OES_compressed_ETC2_sRGB8_alpha8_texture 
     GL_OVR_multiview2 
     GL_EXT_clip_control 
     GL_ANGLE_base_vertex_base_instance_shader_builtin 
     GL_EXT_texture_norm16 
     GL_ANGLE_copy_texture_3d 
     GL_EXT_robustness 
     GL_ANGLE_texture_compression_dxt5 
     GL_EXT_draw_buffers_indexed 
     GL_OES_fbo_render_mipmap 
     GL_OES_compressed_EAC_RG11_signed_texture 
     GL_ANGLE_texture_compression_dxt3 
     GL_OES_vertex_array_object 
     GL_AMD_performance_monitor 
     GL_ANGLE_lossy_etc_decode 
     GL_EXT_float_blend 
     GL_OES_surfaceless_context 
     GL_CHROMIUM_lose_context 
     GL_OES_compressed_EAC_RG11_unsigned_texture 
     GL_OES_draw_buffers_indexed 
     GL_EXT_frag_depth 
     GL_EXT_occlusion_query_boolean 
     GL_EXT_debug_label 
     GL_OES_mapbuffer 
     GL_OES_texture_half_float_linear 
     GL_EXT_shader_texture_lod 
     GL_NV_fence 
     GL_CHROMIUM_bind_generates_resource 
     GL_ANGLE_request_extension 
     GL_EXT_color_buffer_half_float 
     GL_EXT_EGL_image_external_wrap_modes 
     GL_OES_texture_npot 
     GL_ANGLE_framebuffer_multisample 
     GL_ANGLE_framebuffer_blit 
     GL_NV_EGL_stream_consumer_external 
     GL_CHROMIUM_sync_query 
     GL_OES_EGL_image_external_essl3 
     GL_EXT_disjoint_timer_query 
     GL_EXT_multi_draw_indirect 
     GL_NV_pixel_buffer_object 
     GL_EXT_color_buffer_float 
     GL_EXT_map_buffer_range 
     GL_OES_EGL_image 
     GL_ANGLE_multi_draw 
     GL_EXT_texture_filter_anisotropic 
     GL_OES_get_program_binary 
     GL_CHROMIUM_copy_compressed_texture 
     GL_EXT_sRGB 
     GL_EXT_multisampled_render_to_texture 
     GL_OES_depth24 
     GL_ANGLE_multiview_multisample 
     GL_EXT_read_format_bgra 
     GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture 
     GL_EXT_texture_type_2_10_10_10_REV 
     GL_OES_texture_float_linear 
     GL_EXT_texture_compression_s3tc_srgb 
     GL_OES_EGL_image_external 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsAngleD3D11: true 
  isQtPreferAngle: true 
  Detected renderers: 
    (Supported) ANGLE (NVIDIA, NVIDIA GeForce RTX 2070 SUPER Direct3D11 vs_5_0
ps_5_0, D3D11-31.0.15.3623) (OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash:
f2280c0c5f93+krita_qt5)) 
    (Supported) ANGLE (Microsoft, Microsoft Basic Render Driver Direct3D11
vs_5_0 ps_5_0, D3D11-10.0.19041.4355) (OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash:
f2280c0c5f93+krita_qt5)) 
    (Supported) NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 (4.6.0 NVIDIA 536.23)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 32640 Mb
  Number of Cores: 8
  Swap Location: C:/Users/Angel/AppData/Local/Temp
  Built for: sse2
  Base instruction set: fma3+avx2
  Supported instruction sets: fma3+avx2 avx2 fma3+avx avx fma4 fma3+sse4.2
sse4.2 sse4.1 ssse3 sse3 sse2 

Current Settings

  Current Swap Location: C:/Users/Angel/AppData/Local/Temp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: C:/Users/Angel/AppData/Roaming/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Loaded Python Plugins
        colorspace
        comics_project_management_tools
        documenttools
        exportlayers
        filtermanager
        lastdocumentsdocker
        plugin_importer
        quick_settings_docker
        scripter
        tenbrushes
        tenscripts


Display Information
Number of screens: 3
        Screen: 0
                Name: \\.\DISPLAY1
                Depth: 32
                Scale: 1
                Physical DPI94.1104
                Logical DPI96
                Physical Size: 518, 324
                Position: 0, 0
                Resolution in pixels: 1920x1200
                Manufacturer: AUS
                Model: PA248QV
                Refresh Rate: 59
                Serial Number: M1LMQS038855
        Screen: 1
                Name: \\.\DISPLAY2
                Depth: 32
                Scale: 1
                Physical DPI124.615
                Logical DPI96
                Physical Size: 261, 163
                Position: 4480, 0
                Resolution in pixels: 1280x800
                Manufacturer: Wacom Tech
                Model: Cintiq 12WX
                Refresh Rate: 60
                Serial Number: 1JC000028
        Screen: 2
                Name: \\.\DISPLAY3
                Depth: 32
                Scale: 1
                Physical DPI108.888
                Logical DPI96
                Physical Size: 597, 336
                Position: 1920, 0
                Resolution in pixels: 2560x1440
                Manufacturer: AUS
                Model: PA278QV
                Refresh Rate: 59
                Serial Number: L9LMQS155963

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to