Bug 470642

Summary: Embedded terminal does not automatically navigate to specific directory.
Product: [Applications] dolphin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: justin.zobel, kfm-devel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://github.com/PowerShell/PowerShell/issues/new?assignees=&labels=Needs-Triage&projects=&template=Bug_Report.yaml
Latest Commit: Version Fixed In:
Attachments: The error in the Terminal pane, plus the directory.

Description Roke Julian Lockhart Beedell 2023-06-04 20:21:51 UTC
Created attachment 159465 [details]
The error in the Terminal pane, plus the directory.

SUMMARY

	PS /run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities>  cd '/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities/[third='\''Beedell'\'',first='\''Susan'\''](https%3A%2F%2Fwim.nl.tab.digital%2Fapps%2Fcontacts%2FAll%2520contacts%2Ffa9fb215-2e0c-481d-99b8-6086e80a361d~contacts)'
	Set-Location: A positional parameter cannot be found that accepts argument '\Beedell\',first=\Susan\'](https%3A%2F%2Fwim.nl.tab.digital%2Fapps%2Fcontacts%2FAll%2520contacts%2Ffa9fb215-2e0c-481d-99b8-6086e80a361d~contacts)'.
	PS /run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities>

	appears in the Terminal panel when navigating to

	/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities/[third='Beedell',	first='Susan'](https%3A%2F%2Fwim.nl.tab.digital%2Fapps%2Fcontacts%2FAll%2520contacts%2Ffa9fb215-2e0c-481d-99b8-6086e80a361d~contacts)

STEPS TO REPRODUCE

	0. <code>cd /run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities/[third='Beedell',	first='Susan'](https%3A%2F%2Fwim.nl.tab.digital%2Fapps%2Fcontacts%2FAll%2520contacts%2Ffa9fb215-2e0c-481d-99b8-6086e80a361d~contacts)</code>

OBSERVED RESULT

	The directory is unable to be navigated to in the terminal pane.

EXPECTED RESULT

	The directory should be navigated to in the Terminal pane.

SOFTWARE/OS VERSIONS

	Operating System: cpe:/o:opensuse:tumbleweed:20230601
	KDE Plasma Version: 5.27.5
	KDE Frameworks Version: 5.107.0
	Qt Version: 5.15.9
	Kernel Version: 6.3.4-1-default (64-bit)
	Graphics Platform: Wayland
	Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
	Memory: 31.2 GiB of RAM
	Graphics Processor: AMD Radeon RX 5700

ADDITIONAL INFORMATION

	I'm using PowerShell Core and Dolphin 23.07.70.
Comment 1 Justin Zobel 2023-06-05 01:43:02 UTC
Does this work without PowerShell?
Comment 2 Roke Julian Lockhart Beedell 2023-06-06 14:37:16 UTC
(In reply to Justin Zobel from comment #1)
> Does this work without PowerShell?

No, or at least, not when using bash instead (which should be POSIX-compliant by default, right?)

rokejulianlockhart@RQN6C6:/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities>  cd '/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities/[third='\''Beedell'\''/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities/[third='\''Beedell'\'',      first='\''first='\''Susan'\''](https%3A%2F%2Fwim.nl.tab.digital%2Fapps%2Fcontacts%2FAll%2520contacts%2Ffa9fb215-2e0c-481d-99b8-6086e80a361d~contacts)'
bash: cd: $'/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities/[third=\'Beedell\'/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities/[third=\'Beedell\',\tfirst=\'first=\'Susan\'](https%3A%2F%2Fwim.nl.tab.digital%2Fapps%2Fcontacts%2FAll%2520contacts%2Ffa9fb215-2e0c-481d-99b8-6086e80a361d~contacts)': No such file or directory
rokejulianlockhart@RQN6C6:/run/media/rokejulianlockhart/4b2478fd-5b2b-4927-91fb-19d9c9ef3087/entities>