[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2023-03-20 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=460383

Ilya Bizyaev  changed:

   What|Removed |Added

 CC||[email protected]
   Version Fixed In||22.12.1

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-12-30 Thread Kurt Hindenburg
https://bugs.kde.org/show_bug.cgi?id=460383

Kurt Hindenburg  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/konsole/commit/53c383 |ities/konsole/commit/9566ed
   |9e6048b28aef4dda79c7a8dfefa |97d0d2e85f27790ab8f1d89ac0c
   |a3e484b |9ad4373

--- Comment #6 from Kurt Hindenburg  ---
Git commit 9566ed97d0d2e85f27790ab8f1d89ac0c9ad4373 by Kurt Hindenburg, on
behalf of Fabian Vogt.
Committed on 30/12/2022 at 16:49.
Pushed by hindenburg into branch 'release/22.12'.

Fix saving new profiles

When using the "Apply" button in the "Create new profile" dialog, the profile
was saved but the dialog remained in the "new profile" state. This meant that
when clicking on "Apply" again or accepting the dialog, it saved the profile
from scratch instead of editing the existing one. The ProfileManager
interpreted that as a rename because the "Name"/"UntranslatedName" properties
were set and decided to delete the profile at its "old" (== current) path.

M  +2-0src/widgets/EditProfileDialog.cpp

https://invent.kde.org/utilities/konsole/commit/9566ed97d0d2e85f27790ab8f1d89ac0c9ad4373

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-12-27 Thread Kurt Hindenburg
https://bugs.kde.org/show_bug.cgi?id=460383

Kurt Hindenburg  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/konsole/commit/53c383
   ||9e6048b28aef4dda79c7a8dfefa
   ||a3e484b
 Resolution|--- |FIXED

--- Comment #5 from Kurt Hindenburg  ---
Git commit 53c3839e6048b28aef4dda79c7a8dfefaa3e484b by Kurt Hindenburg, on
behalf of Fabian Vogt.
Committed on 27/12/2022 at 16:59.
Pushed by hindenburg into branch 'master'.

Fix saving new profiles

When using the "Apply" button in the "Create new profile" dialog, the profile
was saved but the dialog remained in the "new profile" state. This meant that
when clicking on "Apply" again or accepting the dialog, it saved the profile
from scratch instead of editing the existing one. The ProfileManager
interpreted that as a rename because the "Name"/"UntranslatedName" properties
were set and decided to delete the profile at its "old" (== current) path.

M  +2-0src/widgets/EditProfileDialog.cpp

https://invent.kde.org/utilities/konsole/commit/53c3839e6048b28aef4dda79c7a8dfefaa3e484b

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-12-23 Thread Fabian Vogt
https://bugs.kde.org/show_bug.cgi?id=460383

Fabian Vogt  changed:

   What|Removed |Added

 CC||[email protected]

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-12-23 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=460383

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #4 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/utilities/konsole/-/merge_requests/792

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-11-23 Thread Peter Ped Helcmanovsky
https://bugs.kde.org/show_bug.cgi?id=460383

Peter Ped Helcmanovsky  changed:

   What|Removed |Added

 CC||[email protected]

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-10-19 Thread Josh Taylor
https://bugs.kde.org/show_bug.cgi?id=460383

Josh Taylor  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #3 from Josh Taylor  ---
The workaround that works for me was outlined in this reddit post:
https://old.reddit.com/r/kde/comments/y45vnk/konsole_profiles_arent_saving_why/iscl1vn/

"A workaround I found is to create a new profile then immediately press ok to
exit the menus first. That should make the new profile safe for configuration."

I can confirm this works for me as well, on 22.08.2.

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-10-19 Thread Vladislav Rubtsov
https://bugs.kde.org/show_bug.cgi?id=460383

--- Comment #2 from Vladislav Rubtsov  ---
Alright, if anyone else suffers from this bug and wants a quick fix, you can
copy-paste my profile data as a placeholder, then edit it to your liking
(editing should work fine).

WORKAROUND:
1. In Konsole, open Settings > Manage Profiles...
2. Create a new profile name `Your Profile Name.profile`, SET IT AS A DEFAULT
ONE.
3. Exit Konsole. YOUR PROFILE WON'T BE SAVED DUE TO A BUG, but it's path will
be written to `~/.config/konsolerc` (see my comment above for details).
4. Manually create a file `~/.local/share/konsole/Your Profile Name.profile`.
You can use my data as a placeholder:

* * *
[Appearance]
AntiAliasFonts=true
BoldIntense=true
ColorScheme=Breeze
DimmValue=128
Font=Consolas,12,-1,5,50,0,0,0,0,0
LineSpacing=0
TabColor=invalid
UseFontLineChararacters=false

[Cursor Options]
CursorShape=0
CustomCursorColor=255,255,255
CustomCursorTextColor=0,0,0
UseCustomCursorColor=false

[Encoding Options]
DefaultEncoding=UTF-8

[General]
Command=/bin/bash
DimWhenInactive=false
Environment=TERM=xterm-256color,COLORTERM=truecolor
Icon=utilities-terminal
LocalTabTitleFormat=%d : %n
Name=Profile 4
RemoteTabTitleFormat=(%u) %H
ShowTerminalSizeHint=true
SilenceSeconds=10
StartInCurrentSessionDir=true
TerminalCenter=false
TerminalColumns=110
TerminalMargin=1
TerminalRows=28

[Interaction Options]
AllowEscapedLinks=false
AlternateScrolling=true
AutoCopySelectedText=false
CopyTextAsHTML=true
CtrlRequiredForDrag=true
DropUrlsAsText=true
EscapedLinksSchema=http://;https://;file://
MiddleClickPasteMode=0
MouseWheelZoomEnabled=true
OpenLinksByDirectClickEnabled=false
PasteFromClipboardEnabled=false
PasteFromSelectionEnabled=true
TrimLeadingSpacesInSelectedText=false
TrimTrailingSpacesInSelectedText=false
TripleClickMode=0
UnderlineFilesEnabled=false
UnderlineLinksEnabled=true
WordCharacters=:@-./_~?&=%+#

[Keyboard]
KeyBindings=default

[Scrolling]
HighlightScrolledLines=true
HistoryMode=1
HistorySize=1000
ScrollBarPosition=1
ScrollFullPage=false

[Terminal Features]
BellMode=1
BidiRenderingEnabled=true
BlinkingCursorEnabled=false
BlinkingTextEnabled=true
FlowControlEnabled=true
PeekPrimaryKeySequence=
ReverseUrlHints=false
UrlHintsModifiers=0
VerticalLine=false
VerticalLineAtChar=80

* * *

Notice I use Consolas font in this config. I don't think it will break if you
don't have it.

5. Try loading Konsole again. You should now be able to load and edit `Your
Profile Name`.

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-10-19 Thread Vladislav Rubtsov
https://bugs.kde.org/show_bug.cgi?id=460383

Vladislav Rubtsov  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Vladislav Rubtsov  ---
I have the same bug in the current Debian Testing, which also uses Konsole
v.22.08.1

My observations:
- When you create a new profile and set it as default, its path *does get*
saved to Konsole config, but the profile file itself is never written to.
- After creating a new profile, open `~/.config/konsolerc`. You should see
profile file name  `[Desktop Entry]` section.
- The profile itself should be saved in `~/.local/share/konsole/Your Profile
Name.profile`, but this doesn't happen.
- However, Konsole likely thinks profile *save was successful*. Otherwise, it's
programmed to display an error message.

I was able to bypass this bug by manually creating `~/.local/share/konsole/Your
Profile Name.profile` (I actually copied it over from my Debian 11
installation, where Konsole isn't buggy).

When the profile file was present that matched `[Desktop Entry] >
DefaultProfile` in `~/.config/konsolerc`, it was loading successfully, and I
was able to both edit and rename it.

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

[konsole] [Bug 460383] Custom profiles do not remain saved after Konsole is restarted

2022-10-17 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=460383

Yaroslav Sidlovsky  changed:

   What|Removed |Added

 CC||[email protected]

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