[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2022-02-03 Thread Bharadwaj Raju
https://bugs.kde.org/show_bug.cgi?id=407990

Bharadwaj Raju  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |DUPLICATE
 CC||bharadwaj.raju777@protonmai
   ||l.com

--- Comment #23 from Bharadwaj Raju  ---


*** This bug has been marked as a duplicate of bug 279614 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-12-26 Thread Baltasar
https://bugs.kde.org/show_bug.cgi?id=407990

--- Comment #22 from Baltasar  ---
Same here.
However, in my case Dolphin never loads zshrc for the terminal panel; no matter
the situation.
Please refer to the attachments provided: Dolphin after just started, and
Dolphin after sourcing zshrc.
Konsole or Yakuake work as expected.
===
$ inxi
CPU: quad core Intel Core i7-7700 (-MT MCP-) speed/min/max: 800/800/4200 MHz
Kernel: 5.15.7-1-MANJARO x86_64 Up: 4d 22h 53m
Mem: 5369.0/32064.3 MiB (16.7%) Storage: 465.76 GiB (77.4% used) Procs: 259
Shell: Zsh inxi: 3.3.11
 $ uname -a 
Linux baltasar-pc 5.15.7-1-MANJARO #1 SMP PREEMPT Wed Dec 8 10:09:19 UTC 2021
x86_64 GNU/Linux
 $ cat /etc/passwd | grep baltasarq
baltasarq:x:1000:1000:Baltasar:/home/baltasarq:/bin/zsh
===

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-12-26 Thread Baltasar
https://bugs.kde.org/show_bug.cgi?id=407990

--- Comment #21 from Baltasar  ---
Created attachment 144883
  --> https://bugs.kde.org/attachment.cgi?id=144883&action=edit
Dolphin after sourcing zshrc.

After sourcing zshrc, the terminal panel behaves as expected.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-12-26 Thread Baltasar
https://bugs.kde.org/show_bug.cgi?id=407990

Baltasar  changed:

   What|Removed |Added

 CC||baltas...@gmail.com

--- Comment #20 from Baltasar  ---
Created attachment 144882
  --> https://bugs.kde.org/attachment.cgi?id=144882&action=edit
Dolphin after just started.

Dolphin shows zsh with the default config.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-12-23 Thread Jay Armstrong
https://bugs.kde.org/show_bug.cgi?id=407990

Jay Armstrong  changed:

   What|Removed |Added

 CC||j...@jayarmstrong.com

--- Comment #19 from Jay Armstrong  ---
Believe I'm seeing the same issue using fish shell.

Plasma 5.18.6

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-12-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=407990

minhkhoim...@gmail.com changed:

   What|Removed |Added

 CC||minhkhoim...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-10-30 Thread Alex
https://bugs.kde.org/show_bug.cgi?id=407990

Alex  changed:

   What|Removed |Added

 CC||vorxb...@gmail.com

--- Comment #18 from Alex  ---
Can confirm this affects zsh still. I tried to replicate it in the latest KDE
Neon (dev) using both bash and zsh. To see if the rc file was sourced, I placed
the command "touch ~/test" inside it.

In bash:
When starting dolphin and the konsole is closed, the test file isn't created
until I open the terminal (with a button or via F4). 
When starting dolphin and the konsole is open from the previous session
(session being the last time I had dolphin open), the test file is immediately
created. 
Repeatedly opening and closing the terminal doesn't create the test file again
in either case (so the rc is only sourced once).
-> This is entirely the expected behavior.

In zsh:
When starting dolphin and the konsole is closed, behavior is identical to bash.
When starting dolphin and the konsole is open from the previous session, no
test file is created.
Repeatedly opening and closing the terminal doesn't create the test file again
(or at all, in case 2).
-> When starting dolphin with konsole set to open, initializing the z-shell
with its corresponding zshrc file is skipped.
-> This is the bug.

Skipping the rc file also ruins prompts and aliases, since it leaves you with a
completely bare-bones un-configured shell, which is borderline unusable.
The only workaround is to close the embedded konsole and restart dolphin.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-08-26 Thread Dominik Stańczak
https://bugs.kde.org/show_bug.cgi?id=407990

Dominik Stańczak  changed:

   What|Removed |Added

 CC||stanczakdomi...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-08-01 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=407990

Ilya Bizyaev  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=279614

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-08-01 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=407990

--- Comment #17 from Ilya Bizyaev  ---
(In reply to Sergey Frolov from comment #16)
> I've recently experienced a loss of my .bash_history records and traced it
> to this bug.  
> My .bash_history was truncated from 2.5M to about 24k (default size) several
> times, until I was able to pinpoint dolphin as the source of this problem.
> 
> Given the user file corruption consequence, I think the relevant dolphin
> code should be disabled until the fix is available.

Wow, I also regularly lose my zsh history, would've never guessed it is caused
by this bug...

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-08-01 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=407990

Ilya Bizyaev  changed:

   What|Removed |Added

Version|20.12.2 |21.07.80

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-08-01 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=407990

Ilya Bizyaev  changed:

   What|Removed |Added

 CC||bizy...@zoho.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-07-22 Thread Sergey Frolov
https://bugs.kde.org/show_bug.cgi?id=407990

Sergey Frolov  changed:

   What|Removed |Added

 CC||dunkan.aid...@gmail.com

--- Comment #16 from Sergey Frolov  ---
I've recently experienced a loss of my .bash_history records and traced it to
this bug.  
My .bash_history was truncated from 2.5M to about 24k (default size) several
times, until I was able to pinpoint dolphin as the source of this problem.

Given the user file corruption consequence, I think the relevant dolphin code
should be disabled until the fix is available.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-07-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=407990

joel.bourqu...@gmail.com changed:

   What|Removed |Added

 CC||joel.bourqu...@gmail.com

--- Comment #15 from joel.bourqu...@gmail.com ---
Same here with bash and Dolphin 21.04.3.
As others have said, this is indeed related to this setting:
"Show on startup:  Folders, tabs and window state from last time"
If I change this to a fixed location (as a workaround), it works.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-06-18 Thread Marcello Massaro
https://bugs.kde.org/show_bug.cgi?id=407990

Marcello Massaro  changed:

   What|Removed |Added

 CC||d...@mmassa.ro

--- Comment #14 from Marcello Massaro  ---
I have the same problem, but it's not ONLY when the session is restored. (as
far as I can understand, if here "log-in/log-out" is being referred to as
session)

If Dolphin is setup such that the terminal is already showing, .zshrc does not
get sourced, even if you close and open Dolphin multiple times without logging
out.

(In reply to Zesko from comment #13)
> You start Dolphin and should manually click F4 to open the console and ZSH
> looks correct.
I can confirm that this works as (annoying) workaround, and it does not matter
that I'm not in my $HOME.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Dolphin Version: 21.04.2

ADDITIONAL INFORMATION
zsh 5.8

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-04-13 Thread Zesko
https://bugs.kde.org/show_bug.cgi?id=407990

--- Comment #13 from Zesko  ---
My suggestion:

When Dolphin is closed, its terminal panel/console is automatically closed or
completely reset.

You start Dolphin and should manually click F4 to open the console and ZSH
looks correct.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-04-12 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=407990

--- Comment #12 from Dominik Kummer  ---
(In reply to Dominik Kummer from comment #10)
> I also have the issue with bash in dolphin version 20.12.3
> 
> Dolphin services should restore After previous tabs did.
> 
> At first glance dolphinmainwindow.cpp#DolphinMainWindow::setupActions seems
> to activate Tabs after opening terminal, though I see no reason for this.
> Unfortunately I have no resources to contribute right now.

Today it did work on
KDE Frameworks 5.80.0
Qt 5.15.2 (built against 5.15.2)

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-04-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=407990

gran...@tempmail.de changed:

   What|Removed |Added

 CC||gran...@tempmail.de

--- Comment #11 from gran...@tempmail.de ---
i have the same issue

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-03-27 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=407990

Dominik Kummer  changed:

   What|Removed |Added

 CC||ad...@arkades.org

--- Comment #10 from Dominik Kummer  ---
I also have the issue with bash in dolphin version 20.12.3

Dolphin services should restore After previous tabs did.

At first glance dolphinmainwindow.cpp#DolphinMainWindow::setupActions seems to
activate Tabs after opening terminal, though I see no reason for this.
Unfortunately I have no resources to contribute right now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-03-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=407990

yannl35...@gmail.com changed:

   What|Removed |Added

Version|20.08.0 |20.12.2
 CC||yannl35...@gmail.com

--- Comment #9 from yannl35...@gmail.com ---
I also have the issue with bash in dolphin version 20.12.2

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-02-28 Thread olcay seker
https://bugs.kde.org/show_bug.cgi?id=407990

olcay seker  changed:

   What|Removed |Added

 CC||ose...@gmail.com

--- Comment #8 from olcay seker  ---
I have same issue with zsh too

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-01-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=407990

Nate Graham  changed:

   What|Removed |Added

 CC||xichen.b...@gmail.com

--- Comment #7 from Nate Graham  ---
*** Bug 432037 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-01-11 Thread R David Dunphy
https://bugs.kde.org/show_bug.cgi?id=407990

R David Dunphy  changed:

   What|Removed |Added

 CC||rdd.dun...@gmail.com

--- Comment #6 from R David Dunphy  ---
I have the same issue with my .bashrc not being loaded, so it appears to not be
limited to zsh. Changing the setting to always open $HOME in new sessions fixes
it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2021-01-02 Thread Christian Boltz
https://bugs.kde.org/show_bug.cgi?id=407990

Christian Boltz  changed:

   What|Removed |Added

 CC||kde-b...@cboltz.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2020-12-23 Thread Rafa
https://bugs.kde.org/show_bug.cgi?id=407990

Rafa  changed:

   What|Removed |Added

 CC||rafaobej...@outlook.es

--- Comment #5 from Rafa  ---
I have the same problem. If you configure dolphin so that it does not restore
the last session and always open by default HOME directory, dolphin's terminal
sources .zshrc file correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2020-11-16 Thread d3coder
https://bugs.kde.org/show_bug.cgi?id=407990

d3coder  changed:

   What|Removed |Added

 CC||ad...@xakeps.dk

--- Comment #4 from d3coder  ---
I have same issue

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2020-11-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=407990

lilyd...@gmail.com changed:

   What|Removed |Added

 CC||lilyd...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2020-10-03 Thread Simone Gaiarin
https://bugs.kde.org/show_bug.cgi?id=407990

Simone Gaiarin  changed:

   What|Removed |Added

 CC||simg...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 407990] Dolphin terminal panel doesn't source .zshrc on session restore

2020-09-06 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=407990

Nate Graham  changed:

   What|Removed |Added

Summary|Dolphin terminal panel  |Dolphin terminal panel
   |doesn't source .zshrc on|doesn't source .zshrc on
   |restore |session restore

-- 
You are receiving this mail because:
You are watching all bug changes.