[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 121312] splitter view sizes not saved
From:       Nico Dorn <nicodorn () gmx ! de>
Date:       2010-05-08 14:52:32
Message-ID: 20100508145232.BE9653FE9A () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=121312


Nico Dorn <nicodorn@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicodorn@gmx.de




--- Comment #15 from Nico Dorn <nicodorn gmx de>  2010-05-08 16:52:29 ---
Confirmed for Akregator 1.6.2 (KDE SC 4.4.2); Distribution: Kubuntu 10.04.

Steps to reproduce the bug.
1. Start akregator with --hide-mainwindow
2. Right click on icon in system tray
3. Choose Quit
4. Start akregator with --hide-mainwindow
5. Left click on icon to show the main window

The bug appears because the values in the settings file (akregatorrc) for
"Splitter 1 Sizes" and "Splitter 2 Sizes" are not saved correctly. After Step
3. (see above) the values are--in my case--set to:
  Splitter 1 Sizes=48,48
  Splitter 2 Sizes=13,13
Maybe because the window layout has not been drawn?

Workaround which solves the problem for me: Start Akregator with a shell script
like this:
  #!/bin/bash
  sed -i 's/Splitter 1 Sizes=.*/Splitter 1 Sizes=261,732/g;s/Splitter 2
Sizes=.*/Splitter 2 Sizes=158,448/g' $HOME/.kde/share/config/akregatorrc
  sleep 1
  nohup akregator --hide-mainwindow &> /dev/null
  exit 0

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic