KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
126557
:
konsole ignores "DefaultSession" parameter in k...
P
roduct
:
konsole
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
20
Description
:
Opened:
2006-05-01 11:10
Last Changed:
2006-05-01 20:29:27
Version: (using KDE KDE 3.5.2) Installed from: Compiled From Sources Compiler: gcc-3.4.3 OS: Linux Specifying DefaultSession=<whatever> in konsolerc does not have any effect - shell,desktop is _always_ used. konsole is started from command line. Looking at sources I've found that konsole just do not read this parameter. I've made a patch to solve the problem.
Comment
#1
Hai Zaar 2006-05-01 11:11:30
Created an attachment (id=15867)
[details]
Makes konsole to honour 'DefaultSession' parameter in konsolerc
Comment
#2
Kurt V Hindenburg 2006-05-01 20:00:31
SVN commit 536256 by hindenburg: Use the "DefaultSession" parameter in konsolerc. Thanks for the patch! BUG: 126557 M +5 -2 konsole.cpp --- branches/KDE/3.5/kdebase/konsole/konsole/konsole.cpp #536255:536256 @@ -2706,8 +2706,11 @@ KSimpleConfig *Konsole::defaultSession() { - if (!m_defaultSession) - setDefaultSession("shell.desktop"); + if (!m_defaultSession) { + KConfig * config = KGlobal::config(); + config->setDesktopGroup(); + setDefaultSession(config->readEntry("DefaultSession","shell.desktop")); + } return m_defaultSession; }
Comment
#3
Kurt V Hindenburg 2006-05-01 20:29:27
SVN commit 536269 by hindenburg: Use the "DefaultSession" parameter in konsolerc. CCBUG: 126557 M +5 -2 konsole.cpp --- trunk/KDE/kdebase/apps/konsole/konsole/konsole.cpp #536268:536269 @@ -2668,8 +2668,11 @@ KSimpleConfig *Konsole::defaultSession() { - if (!m_defaultSession) - setDefaultSession("shell.desktop"); + if (!m_defaultSession) { + KConfig * config = KGlobal::config(); + config->setDesktopGroup(); + setDefaultSession(config->readEntry("DefaultSession","shell.desktop")); + } return m_defaultSession; }
P
latform
:
Compiled Sources
O
S
:
Linux
K
eywords
:
People
Reporter
:
Hai Zaar
Assigned To
:
Konsole Developer
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Makes konsole to honour 'DefaultSession' parameter in konsolerc
(727 bytes, patch)
2006-05-01 11:11
,
Hai Zaar
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In