Bug 470642 - Embedded terminal does not automatically navigate to specific directory.
Summary: Embedded terminal does not automatically navigate to specific directory.
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: terminal (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://github.com/PowerShell/PowerSh...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-04 20:21 UTC by Roke Julian Lockhart Beedell
Modified: 2023-06-06 14:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The error in the Terminal pane, plus the directory. (339.44 KB, image/png)
2023-06-04 20:21 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
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>