~/screen-configurations.xml file after kubuntu install

Bug #340206 reported by Luka Renko
44
This bug affects 3 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Invalid
Undecided
Unassigned
kdebase-workspace (Ubuntu)
Fix Released
Medium
Jonathan Thomas

Bug Description

Binary package hint: kdebase-workspace

After clean install of Kubuntu Alpha 5, I have noticed that screen-configurations.xml file is located in two places:
~/screen-configurations.xml
~/.local/screen-configurations.xml

I have searched through KDE source code, and it is only referenced in kdebase/workspace/libs/kephal/configurations/xml/xmlconfigurations.cpp . Since it is loading it from ~/.local, I suspect something else is creating this will in user home directory.

Luka Renko (lure)
Changed in kdebase-workspace:
importance: Undecided → Low
Revision history for this message
Liviu Beraru (beraru-liviu) wrote :

Running Kubuntu Beta.

> locate screen-configurations.xml
/home/liviu/screen-configurations.xml
/home/liviu/.local/screen-configurations.xml
> diff --brief /home/liviu/screen-configurations.xml /home/liviu/.local/screen-configurations.xml
>

Question: may I delete this file? I haven't tried it out, because I don't want to brake something.

Revision history for this message
Alexander van Loon (avanloon) wrote :

And it's still present in the Daily Live CD of 19 April. While this might not have the highest priority, it is very untidy to have this file polluting our home directories. Hopefully this can be fixed before the final release.

Revision history for this message
Liviu Beraru (beraru-liviu) wrote :

I deleted this file and nothing bad happens.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

[12:57:04] <apachelogger_> this magic file is soooo an incredibly stupid bug I almost had to smile despite the fact I don't feel like that today
[12:57:16] <JontheEchidna> heh
[12:57:25] <apachelogger_> so, please direct your attention on exhibit A
[12:57:30] <apachelogger_> http://websvn.kde.org/trunk/KDE/kdebase/workspace/libs/kephal/configurations/xml/xmlconfigurations.cpp?view=markup
[12:57:40] <apachelogger_> there we find
[12:57:41] <apachelogger_> QDir dir = QDir::home();
[12:57:41] <apachelogger_> dir.cd(".local");
[12:57:41] <apachelogger_> m_configPath = dir.filePath("screen-configurations.xml");
[12:58:14] <apachelogger_> now ... exhibit B: run cd .foobar123 in a shell ... what does happen?

Changed in kdebase-workspace (Ubuntu):
status: New → Triaged
Revision history for this message
Gökçen Eraslan (gkcn) wrote :

Here is a patch for this bug (KDE 4.2.3), works for me.

Revision history for this message
Miguel Tadeu (mtadeunet) wrote :

This still happens on karmic koala alpha 2

Revision history for this message
Harald Sitter (apachelogger) wrote :

Fix committed upstream: http://websvn.kde.org:80/?view=rev&revision=984358

Thanks Gökçen! I changed your patch to use qDebug and qWarning rather than their KDE implementations, since QDebug is used all accross that thingy already :)

Jonathan, please make sure this gets tested with a Live CD and KDE beta2 or a patched version of workspace.

test.scenario-1:
* Start CD with patched version of kdebase-workspace
* Check if home directory contains screen-configurations.xml file
* Check if .local/screen-configurations.xml exists

test.scenario-2:
* Logout
* Remove .local/screen-configurations.xml (only the file, not the directory)
* Login
* File should be available again, but not in home directly

Changed in kdebase-workspace (Ubuntu):
assignee: nobody → Jonathan Thomas (echidnaman)
importance: Low → Medium
milestone: none → karmic-alpha-3
status: Triaged → Fix Committed
Revision history for this message
Martin Albisetti (beuno) wrote :

Thank you for bringing this bug to our attention. Unfortunately a paper cut should be a small usability issue that affects many people and is quick and easy to fix. I'm afraid this bug can't be addressed as part of this project.
A paper cut is a minor usability annoyance that an average user would encounter on his/her first day of using a new installation of Ubuntu 9.10.

Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
Alvin (alvind) wrote :

Every Kubuntu user will encounter this after the first installation and wonder if it can be safely deleted, so I consider this a minor annoyance.

This will be fixed anyway, and now 100 other minor bugs will be fixed too, so setting this to invalid as a papercut isn't that bad.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix released to karmic.

Changed in kdebase-workspace (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.