microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.09k stars 28.51k forks source link

Wayland Drag n drop related to views and sidebar doesnt work anywhere #174846

Closed nikelborm closed 1 year ago

nikelborm commented 1 year ago

Type: Bug

Some time ago (maybe years ago, i dont remember) I was able to drag-n-drop different tabs from my bottom panel to sidebar. I was able to rearrange icons in my activity bar. https://code.visualstudio.com/api/ux-guidelines/activity-bar

i was able to move my https://code.visualstudio.com/api/ux-guidelines/views to activity-bar and back. I was able to combine views from different extensions into single view container like from gitlens and github-pullrequest extensions. I was able to reorder icons in my activity bar. But now I cant do anything. Some day I reordered icons my activity bar close to my primary sidebar. I even installed an extension that adds delimiter so i can split my icons into logical groups.

And now i cannot edit it anyhow

Same in bottom panel. Previously i was able to reorder tabs in it, but now i cant because drag n drop is broken

VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:35:30.018Z) OS version: Linux x64 6.1.12-arch1-1 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 5800H with Radeon Graphics (16 x 3409)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 0, 0| |Memory (System)|13.51GB (5.86GB free)| |Process Argv|--enable-ozone --ozone-platform=wayland --unity-launch --crash-reporter-id cde0d817-2107-4be4-bba1-41d4c8203e86| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|gnome| |XDG_CURRENT_DESKTOP|GNOME| |XDG_SESSION_DESKTOP|gnome| |XDG_SESSION_TYPE|wayland|
Extensions (74) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 js-quick-console|Aha|0.0.3 vscode-nginx-conf|ahm|0.1.3 vscode-caniuse|aka|0.5.4 project-manager|ale|12.7.0 classdiagram-ts|Ale|0.1.67 vscode-color|ans|0.4.5 color-info|bie|0.7.2 markdown-checkbox|bie|0.4.0 vscode-toggle-quotes|Bri|0.3.6 npm-intellisense|chr|1.4.4 path-intellisense|chr|2.8.4 regex|chr|0.4.0 activitybar-separator|ctf|0.0.1 vscode-markdownlint|Dav|0.49.0 vscode-eslint|dba|2.4.0 es7-react-js-snippets|dsz|4.4.3 dbml-language|duy|0.0.1 prettier-vscode|esb|9.10.4 auto-close-tag|for|0.5.14 auto-rename-tag|for|0.1.10 shell-format|fox|7.2.2 day-night-theme-switcher|fre|0.1.2 remotehub|Git|0.50.0 gc-excelviewer|Gra|4.2.56 todo-tree|Gru|0.0.224 output-colorizer|IBM|0.1.2 vscode-edit-csv|jan|0.7.3 vscode-pigments|jas|2.0.0 ts-string-literal-enum-plugin|kin|0.0.3 vscode-gutter-preview|kis|0.30.0 kb-layout-switcher|kle|0.1.3 copy-github-url|mat|0.14.0 rainbow-csv|mec|3.5.0 gitignore|mic|1.0.1 dotenv|mik|1.0.1 vscode-filesize|mkx|3.1.0 websocket-client|moh|0.2.0 vscode-duplicate|mrm|1.2.1 vscode-docker|ms-|1.23.3 remote-containers|ms-|0.275.1 remote-ssh|ms-|0.96.0 remote-ssh-edit|ms-|0.84.0 remote-explorer|ms-|0.2.0 remote-repositories|ms-|0.28.0 sqltools|mtx|0.27.1 sqltools-driver-mysql|mtx|0.5.1 sqltools-driver-pg|mtx|0.5.1 resourcemonitor|mut|1.0.7 reload|nat|0.0.6 vs-sequential-number|nep|1.1.0 gremlins|nho|0.26.0 indent-rainbow|ode|8.3.1 explorer-exclude|Pet|1.3.2 nested-comments|phi|3.0.4 material-icon-theme|PKi|4.24.0 calc|rai|2.3.1 nginx-formatter|ray|0.0.13 vscode-yaml|red|1.11.0 arduino-snippets|ron|1.0.2 trailing-spaces|sha|0.4.1 html5-boilerplate|sid|1.1.1 vscode-fileutils|sle|3.10.0 vscode-zipexplorer|sle|0.3.1 code-spell-checker|str|2.17.0 code-spell-checker-russian|str|2.0.7 vscode-styled-components|sty|1.7.5 pdf|tom|1.2.2 highlight-matching-tag|vin|0.10.1 vscode-nginx|wil|0.7.2 change-case|wma|1.0.0 ReactSnippets|xab|2.4.0 markdown-all-in-one|yzh|3.5.0 material-theme|zhu|3.15.6 (6 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 pyindex848:30662994 nodejswelcome1cf:30587006 3biah626:30602489 pyind779:30662992 89544117:30613380 pythonsymbol12:30657548 vsccsb:30662443 ```
nikelborm commented 1 year ago

And the interesting thing is that if I remove terminal parameters for using ozone wayland and run it natively without any parameters, drag n drop starts working again (but all vs code is blurry due to fractional scaling enabled in my gnome)

nikelborm commented 1 year ago

sorry for duplicate of https://github.com/microsoft/vscode/issues/156723