Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-110763

Bluetooth pairing is faling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.4.1
    • None
    • Linux/X11

    Description

       

       am posting this in  hope I can IDENTIFY  the problem .

      YES I just want to IDENTIFY   WHICH  component  / application or whatever is causing the issue.  I do not expect a solution....

       

      The attached link describes a problem with QT example "scanner" failing to pair SPECIFIC Bluetooth  device  due to "authorization " . 

       

      I can duplicate  such failure at will- using btscanner or my own code.

      It only works with "boom box"  Bluetooth device. It fails with "SPP". 

       

      Unfortunately the QT class used to pair has SPECIFIC option NOT requiring authorization.,

      It looks as  this "no authorization required " is not working correctly .

       

       

       

      https://stackoverflow.com/questions/32478191/qt5-bluetooth-scanner-example-cannot-pair-detected-device

       

      Qt 6.4.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.1 20210422 (Red Hat 10.3.1-1)) on "wayland" 
      OS: Ubuntu 22.04.1 LTS [linux version 5.15.0-58-generic]
      
      Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 RDRAND
      
      Environment:
        QT_ACCESSIBILITY="1"
      
      
      
         QT_IM_MODULE="ibus"
      
      Features: QT_NO_EXCEPTIONS
      
      Library info:
        PrefixPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt
        DocumentationPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/doc
        HeadersPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/include
        LibrariesPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/lib
        LibraryExecutablesPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/libexec
        BinariesPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/bin
        PluginsPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/plugins
        QmlImportsPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/qml
        ArchDataPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt
        DataPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt
        TranslationsPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/translations
        ExamplesPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/examples
        TestsPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt/tests
        SettingsPath: /home/nov25-1/Qt/Nov26/Tools/QtCreator/lib/Qt
      
      Standard paths [*...* denote writable entry]:
        DesktopLocation: "Desktop" */home/nov25-1/Desktop*
        DocumentsLocation: "Documents" */home/nov25-1/Documents*
        FontsLocation: "Fonts" */home/nov25-1/.local/share/fonts* /home/nov25-1/.fonts /usr/share/ubuntu/fonts /usr/local/share/fonts /usr/share/fonts /var/lib/snapd/desktop/fonts
        ApplicationsLocation: "Applications" */home/nov25-1/.local/share/applications* /usr/share/ubuntu/applications /usr/local/share/applications /usr/share/applications /var/lib/snapd/desktop/applications
        MusicLocation: "Music" */home/nov25-1/Music*
        MoviesLocation: "Movies" */home/nov25-1/Videos*
        PicturesLocation: "Pictures" */home/nov25-1/Pictures*
        TempLocation: "Temporary Directory" */tmp*
        HomeLocation: "Home" */home/nov25-1*
        AppLocalDataLocation: "Application Data" */home/nov25-1/.local/share/QtProject/qtdiag* /usr/share/ubuntu/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag
        CacheLocation: "Cache" */home/nov25-1/.cache/QtProject/qtdiag*
        GenericDataLocation: "Shared Data" */home/nov25-1/.local/share* /usr/share/ubuntu /usr/local/share /usr/share /var/lib/snapd/desktop
        RuntimeLocation: "Runtime" */run/user/1000*
        ConfigLocation: "Configuration" */home/nov25-1/.config* /etc/xdg/xdg-ubuntu /etc/xdg
        DownloadLocation: "Download" */home/nov25-1/Downloads*
        GenericCacheLocation: "Shared Cache" */home/nov25-1/.cache*
        GenericConfigLocation: "Shared Configuration" */home/nov25-1/.config* /etc/xdg/xdg-ubuntu /etc/xdg
        AppDataLocation: "Application Configuration" */home/nov25-1/.local/share/QtProject/qtdiag* /usr/share/ubuntu/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag
        AppConfigLocation: "Application Configuration" */home/nov25-1/.config/QtProject/qtdiag* /etc/xdg/xdg-ubuntu/QtProject/qtdiag /etc/xdg/QtProject/qtdiag
      
      File selectors (increasing order of precedence):
        en_US unix linux ubuntu
      
      Network:
        
      SSL is not supported.
      
      Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL BufferQueueingOpenGL MultipleWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface
      
      Style hints:
        mouseDoubleClickInterval: 400
        mousePressAndHoldInterval: 500
        startDragDistance: 8
        startDragTime: 500
        startDragVelocity: 0
        keyboardInputInterval: 400
        keyboardAutoRepeatRate: 30
        cursorFlashTime: 1200
        showIsFullScreen: 0
        showIsMaximized: 0
        passwordMaskDelay: 0
        passwordMaskCharacter: U+2022
        fontSmoothingGamma: 1.7
        useRtlExtensions: 0
        setFocusOnTouchRelease: 0
        tabFocusBehavior: Qt::TabFocusAllControls 
        singleClickActivation: 0
      
      Additional style hints (QPlatformIntegration):
        ReplayMousePressOutsidePopup: 1
      
      Theme:
        Platforms requested : ubuntu,gtk3,gnome,generic
                  available : snap,flatpak,xdgdesktopportal,gtk3
        Styles requested    : Fusion,windows
               available    : Windows,Fusion
        Icon theme          : Yaru,  from /home/nov25-1/.local/share/icons,/usr/share/icons,/var/lib/snapd/desktop/icons
        System font         : "Ubuntu" 11
        Native file dialog
        Native color dialog
        Native font dialog
      
      Fonts:
        General font : "Ubuntu" 11
        Fixed font   : "monospace" 11
        Title font   : "DejaVu LGC Sans" 12
        Smallest font: "DejaVu LGC Sans" 12
      
      Palette:
        QPalette::WindowText: #ff000000
        QPalette::Button: #ffefefef
        QPalette::Light: #ffffffff
        QPalette::Midlight: #ffcacaca
        QPalette::Dark: #ff9f9f9f
        QPalette::Mid: #ffb8b8b8
        QPalette::Text: #ff000000
        QPalette::BrightText: #ffffffff
        QPalette::ButtonText: #ff000000
        QPalette::Base: #ffffffff
        QPalette::Window: #ffefefef
        QPalette::Shadow: #ff767676
        QPalette::Highlight: #ff308cc6
        QPalette::HighlightedText: #ffffffff
        QPalette::Link: #ff0000ff
        QPalette::LinkVisited: #ffff00ff
        QPalette::AlternateBase: #fff7f7f7
        QPalette::NoRole: #ff000000
        QPalette::ToolTipBase: #ffffffdc
        QPalette::ToolTipText: #ff000000
        QPalette::PlaceholderText: #80000000
      
      Screens: 1, High DPI scaling: inactive
      # 0 "HDMI-2" Depth: 32 Primary: yes
        Manufacturer: HPN
        Model: HP V22
        Serial number: 
        Geometry: 1920x1080+0+0 Available: 1920x1080+0+0
        Physical size: 480x270 mm  Refresh: 60 Hz Power state: 0
        Physical DPI: 101.6,101.6 Logical DPI: 96,96 Subpixel_None
        DevicePixelRatio: 1
        Primary orientation: 2 Orientation: 2 Native orientation: 0
      
      Input devices: 1
        QInputDevice::DeviceType::TouchPad "touchpad", capabilities: Position
      
      
      LibGL Vendor: Intel
      Renderer: Mesa Intel(R) HD Graphics (BYT)
      Version: 3.1 Mesa 22.0.5
      Shading language: 1.40
      Format: Version: 3.1 Profile: 0 Swap behavior: 0 Buffer size (RGBA): 8,8,8,8
      Profile: None (QOpenGLFunctions_3_1), Core (QOpenGLFunctions_3_1_Core), Compatibility (QOpenGLFunctions_3_1_Compatibility)
      
      Vulkan instance available
      Supported instance extensions:
        VK_KHR_device_group_creation, version 1
        VK_KHR_display, version 23
        VK_KHR_external_fence_capabilities, version 1
        VK_KHR_external_memory_capabilities, version 1
        VK_KHR_external_semaphore_capabilities, version 1
        VK_KHR_get_display_properties2, version 1
        VK_KHR_get_physical_device_properties2, version 2
        VK_KHR_get_surface_capabilities2, version 1
        VK_KHR_surface, version 25
        VK_KHR_surface_protected_capabilities, version 1
        VK_KHR_wayland_surface, version 6
        VK_KHR_xcb_surface, version 6
        VK_KHR_xlib_surface, version 6
        VK_EXT_acquire_drm_display, version 1
        VK_EXT_acquire_xlib_display, version 1
        VK_EXT_debug_report, version 10
        VK_EXT_direct_mode_display, version 1
        VK_EXT_display_surface_counter, version 1
        VK_EXT_debug_utils, version 2
      Supported layers:
        VK_LAYER_MESA_device_select, version 1, spec version 1.3.211, Linux device selection layer
        VK_LAYER_MESA_overlay, version 1, spec version 1.3.211, Mesa Overlay layer
      Available physical devices:
        API version 1.3.204, vendor 0x8086, device 0xF31, Intel(R) HD Graphics (BYT), type 1, driver version 22.0.5  API version 1.2.204, vendor 0x10005, device 0x0, llvmpipe (LLVM 13.0.1, 128 bits), type 4, driver version 0.0.1
      
      Qt Rendering Hardware Interface supported backends:
      OpenGL (with default QSurfaceFormat):
        Driver Info: Device: Intel Mesa Intel(R) HD Graphics (BYT) 3.1 Mesa 22.0.5 Device ID: 0x0 Vendor ID: 0x0 Device type: Unknown
        Min Texture Size: 1
        Max Texture Size: 16384
        Max Color Attachments: 8
        Frames in Flight: 1
        Async Readback Limit: 1
        MaxThreadGroupsPerDimension: 0
        MaxThreadsPerThreadGroup: 0
        MaxThreadGroupX: 0
        MaxThreadGroupY: 0
        MaxThreadGroupZ: 0
        TextureArraySizeMax: 2048
        MaxUniformBufferRange: 65536
        Uniform Buffer Alignment: 1
        Supported MSAA sample counts: 1,2,4,8
        Features:
          v MultisampleTexture
          v MultisampleRenderBuffer
          - DebugMarkers
          - Timestamps
          - Instancing
          - CustomInstanceStepRate
          - PrimitiveRestart
          v NonDynamicUniformBuffers
          v NonFourAlignedEffectiveIndexBufferOffset
          v NPOTTextureRepeat
          - RedOrAlpha8IsRed
          v ElementIndexUint
          - Compute
          v WideLines
          v VertexShaderPointSize
          - BaseVertex
          - BaseInstance
          v TriangleFanTopology
          v ReadBackNonUniformBuffer
          v ReadBackNonBaseMipLevel
          v TexelFetch
          v RenderToNonBaseMipLevel
          v IntAttributes
          v ScreenSpaceDerivatives
          - ReadBackAnyTextureFormat
          - PipelineCacheDataLoadSave
          v ImageDataStride
          v RenderBufferImport
          v ThreeDimensionalTextures
          v RenderTo3DTextureSlice
          v TextureArrays
        Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
      Vulkan:
        Driver Info: Device: Intel(R) HD Graphics (BYT) Device ID: 0xF31 Vendor ID: 0x8086 Device type: Integrated
        Min Texture Size: 1
        Max Texture Size: 16384
        Max Color Attachments: 8
        Frames in Flight: 2
        Async Readback Limit: 2
        MaxThreadGroupsPerDimension: 65535
        MaxThreadsPerThreadGroup: 1024
        MaxThreadGroupX: 1024
        MaxThreadGroupY: 1024
        MaxThreadGroupZ: 1024
        TextureArraySizeMax: 2048
        MaxUniformBufferRange: 134217728
        Uniform Buffer Alignment: 64
        Supported MSAA sample counts: 1,4,8
        Features:
          v MultisampleTexture
          v MultisampleRenderBuffer
          - DebugMarkers
          v Timestamps
          v Instancing
          - CustomInstanceStepRate
          v PrimitiveRestart
          v NonDynamicUniformBuffers
          v NonFourAlignedEffectiveIndexBufferOffset
          v NPOTTextureRepeat
          v RedOrAlpha8IsRed
          v ElementIndexUint
          v Compute
          v WideLines
          v VertexShaderPointSize
          v BaseVertex
          v BaseInstance
          v TriangleFanTopology
          v ReadBackNonUniformBuffer
          v ReadBackNonBaseMipLevel
          v TexelFetch
          v RenderToNonBaseMipLevel
          v IntAttributes
          v ScreenSpaceDerivatives
          v ReadBackAnyTextureFormat
          v PipelineCacheDataLoadSave
          v ImageDataStride
          - RenderBufferImport
          v ThreeDimensionalTextures
          - RenderTo3DTextureSlice
          v TextureArrays
        Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8
      
      qt.tlsbackend.ossl: Incompatible version of OpenSSL (built with OpenSSL 1.x, runtime version is >= 3.x)
      MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
      MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
      
      Plugin information:
      
      + Android                           9.0.0
      + AutoTest                          9.0.0
        AutotoolsProjectManager           9.0.0
        BareMetal                         9.0.0
      + Bazaar                            9.0.0
        Beautifier                        9.0.0
      + BinEditor                         9.0.0
      + Bookmarks                         9.0.0
        Boot2Qt                           9.0.0
      + CMakeProjectManager               9.0.0
      + CVS                               9.0.0
      + ClangCodeModel                    9.0.0
        ClangFormat                       9.0.0
      + ClangTools                        9.0.0
      + ClassView                         9.0.0
        ClearCase                         9.0.0
        Coco                              9.0.0
      + CodePaster                        9.0.0
        CompilationDatabaseProjectManager 9.0.0
        Conan                             9.0.0
      + Core                              9.0.0
      + CppEditor                         9.0.0
        Cppcheck                          9.0.0
      + CtfVisualizer                     9.0.0
      + Debugger                          9.0.0
      + Designer                          9.0.0
      + DiffEditor                        9.0.0
        Docker                            9.0.0
        EmacsKeys                         9.0.0
      + FakeVim                           9.0.0
      + GLSLEditor                        9.0.0
      + GenericProjectManager             9.0.0
      + Git                               9.0.0
        GitLab                            9.0.0
        HelloWorld                        9.0.0
      + Help                              9.0.0
      + ImageViewer                       9.0.0
      + IncrediBuild                      9.0.0
        Ios                               9.0.0
      + LanguageClient                    9.0.0
      + Macros                            9.0.0
      + Marketplace                       9.0.0
        McuSupport                        9.0.0
      + Mercurial                         9.0.0
        MesonProjectManager               9.0.0
      + ModelEditor                       9.0.0
        Nim                               9.0.0
      + PerfProfiler                      9.0.0
        Perforce                          9.0.0
      + ProjectExplorer                   9.0.0
      + Python                            9.0.0
      + QbsProjectManager                 9.0.0
      + QmakeProjectManager               9.0.0
        QmlDesigner                       9.0.0
      + QmlJSEditor                       9.0.0
      + QmlJSTools                        9.0.0
      + QmlPreview                        9.0.0
      + QmlProfiler                       9.0.0
      + QmlProjectManager                 9.0.0
      + Qnx                               9.0.0
      + QtSupport                         9.0.0
      + RemoteLinux                       9.0.0
      + ResourceEditor                    9.0.0
      + ScxmlEditor                       9.0.0
        SerialTerminal                    9.0.0
        SilverSearcher                    9.0.0
        Squish                            9.0.0
        StudioWelcome                     9.0.0
      + Subversion                        9.0.0
      + TextEditor                        9.0.0
        Todo                              9.0.0
      + UpdateInfo                        9.0.0
      + UsageStatistic                    9.0.0
      + Valgrind                          9.0.0
      + VcsBase                           9.0.0
      + WebAssembly                       9.0.0
      + Welcome                           9.0.0
      
      Used settingspath: ~/.config/QtProject
      
      Qt Creator 9.0.0
      Based on Qt 6.4.1 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
      From revision dfa5b54647
      Built on Nov 22 2022 02:15:14'''''''''
      
      
      
      
      
      
      
      

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anner Anne Ranch
            anner Anne Ranch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes