Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.2
-
None
Description
1. right click in left side of editor file explorer
2. "Add New..."
3. try add a new C++ file, and then the "New File" window(see pic bellow) not get input focus automatically, it's not a good experience.
Qt 6.8.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.1 20210422 (Red Hat 10.3.1-1)) on "xcb" OS: Ubuntu 24.04.2 LTS [linux version 6.11.0-19-generic] Architecture: x86_64; features: hybrid SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RDRAND RDSEED AES VAES SHA Environment: QT_ACCESSIBILITY="1" QT_IM_MODULE="ibus" QT_QPA_PLATFORM="xcb" Features: QT_NO_EXCEPTIONS Library info: PrefixPath: /home/shun/Qt/Tools/QtCreator/lib/Qt DocumentationPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/doc HeadersPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/include LibrariesPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/lib LibraryExecutablesPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/libexec BinariesPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/bin PluginsPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/plugins QmlImportsPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/qml ArchDataPath: /home/shun/Qt/Tools/QtCreator/lib/Qt DataPath: /home/shun/Qt/Tools/QtCreator/lib/Qt TranslationsPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/translations ExamplesPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/examples TestsPath: /home/shun/Qt/Tools/QtCreator/lib/Qt/tests SettingsPath: /home/shun/Qt/Tools/QtCreator/lib/Qt Standard paths [*...* denote writable entry]: DesktopLocation: "Desktop" */home/shun/桌面* DocumentsLocation: "Documents" */home/shun/文档* FontsLocation: "Fonts" */home/shun/.local/share/fonts* /home/shun/.fonts /usr/share/ubuntu-wayland/fonts /usr/share/gnome/fonts /home/shun/.local/share/flatpak/exports/share/fonts /var/lib/flatpak/exports/share/fonts /usr/local/share/fonts /usr/share/fonts /var/lib/snapd/desktop/fonts ApplicationsLocation: "Applications" */home/shun/.local/share/applications* /usr/share/ubuntu-wayland/applications /usr/share/gnome/applications /home/shun/.local/share/flatpak/exports/share/applications /var/lib/flatpak/exports/share/applications /usr/local/share/applications /usr/share/applications /var/lib/snapd/desktop/applications MusicLocation: "Music" */home/shun/音乐* MoviesLocation: "Movies" */home/shun/视频* PicturesLocation: "Pictures" */home/shun/图片* TempLocation: "Temporary Directory" */tmp* HomeLocation: "Home" */home/shun* AppLocalDataLocation: "Application Data" */home/shun/.local/share/QtProject/qtdiag* /usr/share/ubuntu-wayland/QtProject/qtdiag /usr/share/gnome/QtProject/qtdiag /home/shun/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag CacheLocation: "Cache" */home/shun/.cache/QtProject/qtdiag* GenericDataLocation: "Shared Data" */home/shun/.local/share* /usr/share/ubuntu-wayland /usr/share/gnome /home/shun/.local/share/flatpak/exports/share /var/lib/flatpak/exports/share /usr/local/share /usr/share /var/lib/snapd/desktop RuntimeLocation: "Runtime" */run/user/1000* ConfigLocation: "Configuration" */home/shun/.config* /etc/xdg/xdg-ubuntu-wayland /etc/xdg DownloadLocation: "Download" */home/shun/下载* GenericCacheLocation: "Shared Cache" */home/shun/.cache* GenericConfigLocation: "Shared Configuration" */home/shun/.config* /etc/xdg/xdg-ubuntu-wayland /etc/xdg AppDataLocation: "Application Configuration" */home/shun/.local/share/QtProject/qtdiag* /usr/share/ubuntu-wayland/QtProject/qtdiag /usr/share/gnome/QtProject/qtdiag /home/shun/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag AppConfigLocation: "Application Configuration" */home/shun/.config/QtProject/qtdiag* /etc/xdg/xdg-ubuntu-wayland/QtProject/qtdiag /etc/xdg/QtProject/qtdiag File selectors (increasing order of precedence): zh_CN unix linux ubuntu Network: Using "OpenSSL 3.0.13 30 Jan 2024", version: 0x300000d0 Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition Style hints: mouseDoubleClickInterval: 400 mousePressAndHoldInterval: 500 startDragDistance: 8 startDragTime: 500 startDragVelocity: 0 keyboardInputInterval: 400 keyboardAutoRepeatRateF: 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: 0 Theme: Platforms requested : ubuntu,gtk3,gnome,generic available : snap,flatpak,xdgdesktopportal,gtk3 Styles requested : Fusion,windows available : Windows,Fusion Icon theme : Yaru, from /home/shun/.local/share/icons,/home/shun/.local/share/flatpak/exports/share/icons,/var/lib/flatpak/exports/share/icons,/usr/share/icons,/var/lib/snapd/desktop/icons System font : "Ubuntu Sans" 11 Native file dialog Native color dialog Native font dialog Fonts: General font : "Ubuntu Sans" 11 Fixed font : "monospace" 11 Title font : "Ubuntu Sans" 11 Smallest font: "Ubuntu Sans" 11 Palette: QPalette::WindowText: #ffdadada QPalette::Button: #ff2d2d2d QPalette::Light: #ff383838 QPalette::Midlight: #ff333333 QPalette::Dark: #ff272727 QPalette::Mid: #ff333333 QPalette::Text: #ffdadada QPalette::BrightText: #ffffffff QPalette::ButtonText: #ffdadada QPalette::Base: #ff2d2d2d QPalette::Window: #ff2d2d2d QPalette::Shadow: #ff020202 QPalette::Highlight: #ff0860f2 QPalette::HighlightedText: #ffffffff QPalette::Link: #ff0000ff QPalette::LinkVisited: #ffff00ff QPalette::AlternateBase: #ff2a2a2a QPalette::NoRole: #ff000000 QPalette::ToolTipBase: #ffffffdc QPalette::ToolTipText: #ff000000 QPalette::PlaceholderText: #ff767676 QPalette::Accent: #ff000000 Screens: 1, High DPI scaling: inactive # 0 "eDP-1" Depth: 24 Primary: yes Manufacturer: Model: Serial number: Geometry: 1920x1080+0+0 Available: 1920x1048+0+32 Physical size: 310x170 mm Refresh: 143.802 Hz Power state: 0 Physical DPI: 157.316,161.365 Logical DPI: 96,96 Subpixel_None DevicePixelRatio: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 Input devices: 8 QInputDevice::DeviceType::Mouse "Virtual core pointer", seat: "30002" capabilities: Position Scroll Hover QInputDevice::DeviceType::Keyboard "Virtual core keyboard", seat: "30002" capabilities: QInputDevice::DeviceType::Mouse "Virtual core XTEST pointer", seat: "30002" capabilities: Position Scroll Hover QInputDevice::DeviceType::Keyboard "Virtual core XTEST keyboard", seat: "30002" capabilities: QInputDevice::DeviceType::Keyboard "xwayland-keyboard:15", seat: "30002" capabilities: QInputDevice::DeviceType::Mouse "xwayland-pointer:15", seat: "30002" capabilities: Position Scroll Hover QInputDevice::DeviceType::TouchPad "xwayland-relative-pointer:15", seat: "30002" capabilities: MouseEmulation Scroll QInputDevice::DeviceType::TouchPad "xwayland-pointer-gestures:15", seat: "30002" capabilities: MouseEmulation Scroll LibGL Vendor: Intel Renderer: Mesa Intel(R) Graphics (ADL GT2) Version: 4.6 (Compatibility Profile) Mesa 24.2.8-1ubuntu1~24.04.1 Shading language: 4.60 Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8 Profile: None (QOpenGLFunctions_4_6) 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_debug_utils, version 2 VK_EXT_direct_mode_display, version 1 VK_EXT_display_surface_counter, version 1 VK_EXT_headless_surface, version 1 VK_EXT_surface_maintenance1, version 1 VK_EXT_swapchain_colorspace, version 4 VK_KHR_portability_enumeration, version 1 VK_LUNARG_direct_driver_loading, version 1 Supported layers: VK_LAYER_NV_optimus, version 1, spec version 1.3.280, NVIDIA Optimus layer VK_LAYER_MESA_device_select, version 1, spec version 1.3.211, Linux device selection layer VK_LAYER_INTEL_nullhw, version 1, spec version 1.1.73, INTEL NULL HW VK_LAYER_MESA_overlay, version 1, spec version 1.3.211, Mesa Overlay layer Available physical devices: API version 1.3.289, vendor 0x8086, device 0x46A6, Intel(R) Graphics (ADL GT2), type 1, driver version 24.2.8 API version 1.3.280, vendor 0x10DE, device 0x25E2, NVIDIA GeForce RTX 3050 Laptop GPU, type 2, driver version 560.140.192 API version 1.3.289, vendor 0x10005, device 0x0, llvmpipe (LLVM 19.1.1, 256 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) Graphics (ADL GT2) 4.6 (Compatibility Profile) Mesa 24.2.8-1ubuntu1~24.04.1 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: 2147483646 MaxThreadsPerThreadGroup: 1024 MaxThreadGroupX: 1024 MaxThreadGroupY: 1024 MaxThreadGroupZ: 1024 TextureArraySizeMax: 2048 MaxUniformBufferRange: 65536 MaxVertexInputs: 16 MaxVertexOutputs: 32 Uniform Buffer Alignment: 1 Supported MSAA sample counts: 1,2,4,8,16 Features: v MultisampleTexture v MultisampleRenderBuffer - DebugMarkers v Timestamps v Instancing - CustomInstanceStepRate v PrimitiveRestart v NonDynamicUniformBuffers v NonFourAlignedEffectiveIndexBufferOffset v NPOTTextureRepeat - RedOrAlpha8IsRed v ElementIndexUint v Compute v WideLines v VertexShaderPointSize v BaseVertex - BaseInstance v TriangleFanTopology v ReadBackNonUniformBuffer v ReadBackNonBaseMipLevel v TexelFetch v RenderToNonBaseMipLevel v IntAttributes v ScreenSpaceDerivatives - ReadBackAnyTextureFormat v PipelineCacheDataLoadSave v ImageDataStride v RenderBufferImport v ThreeDimensionalTextures v RenderTo3DTextureSlice v TextureArrays v Tessellation v GeometryShader - TextureArrayRange v NonFillPolygonMode v OneDimensionalTextures v OneDimensionalTextureMipmaps v HalfAttributes v RenderToOneDimensionalTexture v ThreeDimensionalTextureMipmaps Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 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) Graphics (ADL GT2) Device ID: 0x46A6 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: 1073741824 MaxVertexInputs: 29 MaxVertexOutputs: 32 Uniform Buffer Alignment: 64 Supported MSAA sample counts: 1,2,4,8,16 Features: v MultisampleTexture v MultisampleRenderBuffer v 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 v Tessellation v GeometryShader v TextureArrayRange v NonFillPolygonMode v OneDimensionalTextures v OneDimensionalTextureMipmaps v HalfAttributes v RenderToOneDimensionalTexture v ThreeDimensionalTextureMipmaps Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D24 D24S8 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 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_10x6 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12 ERROR: VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion] ERROR: VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion] Plugin information: + android 16.0.0 + autotest 16.0.0 autotoolsprojectmanager 16.0.0 axivion 16.0.0 baremetal 16.0.0 bazaar 16.0.0 beautifier 16.0.0 + bineditor 16.0.0 boot2qt 16.0.0 + clangcodemodel 16.0.0 + clangformat 16.0.0 + clangtools 16.0.0 + classview 16.0.0 clearcase 16.0.0 + cmakeprojectmanager 16.0.0 coco 16.0.0 + codepaster 16.0.0 compilationdatabaseprojectmanager 16.0.0 compilerexplorer 16.0.0 conan 16.0.0 copilot 16.0.0 + core 16.0.0 cppcheck 16.0.0 + cppeditor 16.0.0 + ctfvisualizer 16.0.0 cvs 16.0.0 + debugger 16.0.0 + designer 16.0.0 + diffeditor 16.0.0 docker 16.0.0 effectcomposer 16.0.0 emacskeys 16.0.0 + extensionmanager 16.0.0 + fakevim 16.0.0 fossil 16.0.0 + genericprojectmanager 16.0.0 + git 16.0.0 gitlab 16.0.0 + glsleditor 16.0.0 haskell 16.0.0 helloworld 16.0.0 + help 16.0.0 + imageviewer 16.0.0 + incredibuild 16.0.0 insight 16.0.0 ios 16.0.0 + languageclient 16.0.0 + lua 16.0.0 + lualanguageclient 16.0.0 + lualanguageserver 1.0.0 luatests 1.0.0 + macros 16.0.0 mcusupport 16.0.0 mercurial 16.0.0 mesonprojectmanager 16.0.0 + modeleditor 16.0.0 nim 16.0.0 perforce 16.0.0 + perfprofiler 16.0.0 + projectexplorer 16.0.0 + python 16.0.0 + qbsprojectmanager 16.0.0 + qmakeprojectmanager 16.0.0 qmldesigner 16.0.0 + qmldesignerbase 16.0.0 qmldesignerlite 16.0.0 + qmljseditor 16.0.0 + qmljstools 16.0.0 + qmlpreview 16.0.0 + qmlprofiler 16.0.0 + qmlprojectmanager 16.0.0 + qnx 16.0.0 + qtapplicationmanagerintegration 16.0.0 + qtsupport 16.0.0 + remotelinux 16.0.0 + resourceeditor 16.0.0 + rustlanguageserver 1.0.0 saferenderer 16.0.0 screenrecorder 16.0.0 + scxmleditor 16.0.0 serialterminal 16.0.0 silversearcher 16.0.0 squish 16.0.0 studiowelcome 16.0.0 subversion 16.0.0 + tellajoke 1.0.0 + terminal 16.0.0 + texteditor 16.0.0 todo 16.0.0 + updateinfo 16.0.0 + valgrind 16.0.0 vcpkg 16.0.0 + vcsbase 16.0.0 webassembly 16.0.0 + welcome 16.0.0 Used settingspath: ~/.config/QtProject UI configuration: Color: #666666 Theme: flat-dark "Dark (2016)" Theme color scheme: Qt::ColorScheme::Dark System color scheme: Qt::ColorScheme::Dark Toolbar style: Utils::StyleHelper::ToolbarStyleCompact Language: zh_CN (System Language) Device pixel ratio: 1, Qt::HighDpiScaleFactorRoundingPolicy::Round Font DPI: 96 Utils::StyleHelper::UiElement: H1: Titillium Web,27,-1,5,600,0,0,0,0,0,0,0,0,2,0,1 H2: Titillium Web,21,-1,5,600,0,0,0,0,0,0,0,0,0,0,1 H3: Ubuntu Sans,12,-1,5,700,0,0,0,0,0,1,0,0,0,0,1 H4: Ubuntu Sans,12,-1,5,700,0,0,0,0,0,0,0,0,0,0,1 H5: Ubuntu Sans,10.5,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 H6: Ubuntu Sans,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 H6Capital: Ubuntu Sans,9,-1,5,400,0,0,0,0,0,1,0,0,0,0,1 Body1: Ubuntu Sans,10.5,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 Body2: Ubuntu Sans,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 ButtonMedium: Ubuntu Sans,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 ButtonSmall: Ubuntu Sans,7.5,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 LabelMedium: Ubuntu Sans,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 LabelSmall: Ubuntu Sans,7.5,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 CaptionStrong: Ubuntu Sans,7.5,-1,5,600,0,0,0,0,0,0,0,0,0,0,1 Caption: Ubuntu Sans,7.5,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 IconStandard: Ubuntu Sans,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 IconActive: Ubuntu Sans,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 Product: Qt Creator 16.0.0 Based on: Qt 6.8.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64) Built on: Mar 11 2025 10:58:16 From revision: 55ce4e9c06