Bug 262702 - DigiKam Causes User to Suddenly Log out in Settings Configure digikam when you choose Colours and move the Side Bar.
Summary: DigiKam Causes User to Suddenly Log out in Settings Configure digikam when yo...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Themes (show other bugs)
Version: 1.6.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 22:13 UTC by Don
Modified: 2023-05-22 06:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.1.0


Attachments
When you move the Slide Bar on the right digikam causes user to log out. See mouse arrow. Configure – 'digiKam'_091.png is the image that I mentioned which caused Digikam to Crash my Fedora 14 Desktio. (95.94 KB, image/png)
2011-01-10 00:47 UTC, Don
Details
I looked in my Fedora 14 Repos for it and found only 2 Apps that mention Kate. (151.98 KB, image/png)
2011-01-13 23:17 UTC, Don
Details
Additional confirmation required To remove these packages (139.66 KB, image/png)
2011-01-13 23:32 UTC, Don
Details
Will this uninstall all of my Xorg Video Drivers of just the noveau driver? (91.14 KB, image/png)
2011-01-13 23:35 UTC, Don
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don 2011-01-09 22:13:14 UTC
Version:           1.6.0 (using KDE 4.5.4) 
OS:                Linux

In digiKam Version 1.6.0 Using KDE Development Platform 4.5.4 (KDE 4.5.4)Causes User to Suddenly Log out in Settings Configure digikam when you choose Colours and move the Side Bar. Happens every time. 

Reproducible: Always

Steps to Reproduce:
Go to Settings Configure digikam when you choose Colours and move the Side Bar.

Actual Results:  
User is suddenly logged out and you loose all settings.

Expected Results:  
To be able to finish setting up digikam without a crash or sudden user logout. 

OS: Linux (i686) release 2.6.35.10-74.fc14.i686
Compiler: gcc
Comment 1 caulier.gilles 2011-01-09 22:35:18 UTC
Which settings you touch in setup dialog to have this dysfunction ?

Gilles Caulier
Comment 2 Don 2011-01-09 22:55:52 UTC
(In reply to comment #1)
> Which settings you touch in setup dialog to have this dysfunction ?
> 
> Gilles Caulier

In Settings Configure digikam when you choose Colours. Then just move the Side Bar in order to read the rest of the window and it suddenly logs you out. I have a 17 inch CRT Monitor and can't see the whole window... 

Don
Comment 3 caulier.gilles 2011-01-09 23:15:58 UTC
Which color button ? From Image Editor settings ?
Sound like a bug in your KDELibs. These color buttons and color selection dialog are managed by KDE library, not digiKam as well.

Gilles Caulier
Comment 4 Don 2011-01-10 00:47:37 UTC
Created attachment 55794 [details]
When you move the Slide Bar on the right digikam causes user to log out. See mouse arrow. Configure – 'digiKam'_091.png is the image that I mentioned which caused Digikam to Crash my Fedora 14 Desktio. 

When you move the Slide Bar on the right digikam causes user to log out. See mouse arrow for what I mean by Slide Bar.
Comment 5 Don 2011-01-10 01:28:14 UTC
(In reply to comment #3)
> Which color button ? From Image Editor settings ?
> Sound like a bug in your KDELibs. These color buttons and color selection
> dialog are managed by KDE library, not digiKam as well.
> 
> Gilles Caulier

Well, here's about the weirdest thing I've ever come across in 5 plus years of running Fedora and other versions of Linux too. I use Gwenview as my default image viewer. I just click on an image file in Krusader and open it with Gwenview with no problems ever. I have quite a few Screen shots made with Shutter in a Directory. And the Shot that I just uploaded of digikam causes the user logout problem too. I can open the png image in other image viewers with no problems. And I even scanned that Dir with KlamAV just to make sure I don't have one of the few Linux Viruses out there. Guess, it does have something to do with KDE... But what I don't have a Clue... Very strange goings on... I don't suppose you can reproduce the problem there with digikam, right? 

Don
Comment 6 caulier.gilles 2011-01-10 07:18:52 UTC
The slider is managed by Qt4 API. It's not digiKam fault in all case. Your color theme is also a KDE extension. It's not a crash of digiKam but from your X11 session. It's completely unrelated to digiKam. 

Try to change KDE color theme using KDE control panel and try again.

Try to use another KDe application, as Kate editor. It crash also when you enter in config setup dialog by the same way ?

Note : I never see a crash like this. It's relevant only of your computer.

Gilles Caulier
Comment 7 Marcel Wiesweg 2011-01-11 13:35:22 UTC
"Suddenly log out" looks like an X.org server crash to me. So probably the old graphics driver nightmare. Or a problem with the KWin window manager.
Comment 8 Don 2011-01-13 23:13:24 UTC
(In reply to comment #6)
> The slider is managed by Qt4 API. It's not digiKam fault in all case. Your
> color theme is also a KDE extension. It's not a crash of digiKam but from your
> X11 session. It's completely unrelated to digiKam. 
> 
> Try to change KDE color theme using KDE control panel and try again.
> 
> Try to use another KDe application, as Kate editor. It crash also when you
> enter in config setup dialog by the same way ?
> 
> Note : I never see a crash like this. It's relevant only of your computer.
> 
> Gilles Caulier

I logged in to my KDE Desktop and change KDE color theme using KDE control panel to Oxygen and it fixed the Problem with DigiKam! But, that was yesterday. Today the Logout Demon is back!:O I tried another color scheme in KDE and on it Gnome too, but to no avail. I work in Gnome Desktop, but I have KDE installed too. So, I logged in to the KDE Desktop and changed the color settings by just choosing another Theme each time. Then tested the changes. The first time, there was no change. The second time worked. The third it was back to Logging me out instantly. That's a very odd bug to me. And a sad one too, Digikam is a great App when it is Working. But I don't want to risk loosing all of my other work if I forget and hit that side bar in Settings again. It looks like a great App for working with and Importing Images from my Cameras and Cards. It will import .mov files and other most Apps that I've found wont do that. Except CamCardSync, which is a bit too simplistic for me. 

I'm not familiar with Kate. I looked in my Fedora 14 Repos for it and found only 2 Apps that mention Kate. "Faust AUdio STreams is a functional programming language for real-time audio signal processing. This package provides Faust code syntax highlighting support for KDE's Kate/Kwrite." and "Artwiz is a family of very small futuristic fonts, with varying styles of typefaces designed at a single pixel size. The minimal nature of the fonts makes them popular with users of lightweight window managers. These fonts have been updated by Alec Zapka to be compatible with modern software and support an extended character set. This package contains the Kates font in three encodings, English, German, and Swedish." Are either of these what you are talking about?

I have Kwrite and use it as my Default Text file editor with no problems. I use Krusader as my File Manager and use Gwenview as my default Image Viewer. All with no Problems. With the exception of the one Screen Shot of the DigiKam Window, Configure – 'digiKam'_091.png, which caused the instant Logout when I open it. I just noticed the special characters in the name and renamed the file Configure-digiKam-091.png. But this made no difference with the Logout Problem. I have run my System for 3 days without any problems, as long as I stay away from this file and from DigiKam and that messed up png file. So my system is fine...
Comment 9 Don 2011-01-13 23:17:04 UTC
Created attachment 55988 [details]
I looked in my Fedora 14 Repos for it and found only 2 Apps that mention Kate.

I'm not familiar with Kate. I looked in my Fedora 14 Repos for it and found only 2 Apps that mention Kate.
Comment 10 Don 2011-01-13 23:21:58 UTC
(In reply to comment #7)
> "Suddenly log out" looks like an X.org server crash to me. So probably the old
> graphics driver nightmare. Or a problem with the KWin window manager.

That rang a bell with me. I have recently installed a new ATI Radion Video Card and still have the Onboard Intel Video Xorg Driver in the System. Also, I use Yum Installed Apps Lists to build my Systems and I take them from my other systems. So, there is also an Xorg nVidia Driver installed on this System. So far, I have had no problems with this and usually don't on other Systems. I went to uninstall the nVidia Driver to see what would happen. But, this concerns me. I get a message saying... "Additional confirmation required To remove these packages, additional software also has to be modified. x-org-x11drivers..." I'm not sure if this will uninstall all of my Xorg Video Drivers and Send my back to Terminal only mode!:O I have had that happen before and it is not fun to fix!:O This is why I have not uninstalled them already. What do you think? I'm attaching Screen Shots..

Don
Comment 11 Don 2011-01-13 23:32:07 UTC
Created attachment 55990 [details]
Additional confirmation required To remove these packages

I get a message saying... "Additional confirmation required To remove these packages, additional software also has to be modified. x-org-x11drivers..."
Comment 12 Don 2011-01-13 23:35:02 UTC
Created attachment 55991 [details]
Will this uninstall all of my Xorg Video Drivers of just the noveau driver?

I'm not sure if this will uninstall all of my Xorg Video Drivers and Send my back to Terminal only mode!:O Will this uninstall all of my Xorg Video Drivers of just the noveau driver?
Comment 13 Michal Thoma 2011-01-30 17:22:58 UTC
I have similar or maybe same issue here with digikam 1.8.0 and before also 1.7.0 and Gnome.

1 - Open program Preferences.
2 - Switch to Color Management tab 
3 - Scroll to see more options or try to unfold Working Space ICC select.
4 - Gnome immediately crashes. I can see light blue / black blinking terminal screen with é sign all over that for a while, than GDM restarts. Here is backtrace from Xorg.log

Backtrace:
[ 30553.633] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80ef31b]
[ 30553.633] 1: /usr/bin/X (0x8048000+0x5d00d) [0x80a500d]
[ 30553.633] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0x83a40c]
[ 30553.633] 3: /usr/lib/xorg/extra-modules/modules/glesx.so (0x1a5b000+0x477fe) [0x1aa27fe]
[ 30553.633] 4: /usr/lib/xorg/extra-modules/modules/glesx.so (0x1a5b000+0x48f84) [0x1aa3f84]
[ 30553.633] 5: /usr/bin/X (0x8048000+0xde92d) [0x812692d]
[ 30553.633] 6: /usr/bin/X (CompositePicture+0x200) [0x8121840]
[ 30553.633] 7: /usr/bin/X (0x8048000+0xd2a51) [0x811aa51]
[ 30553.633] 8: /usr/bin/X (0x8048000+0xcf863) [0x8117863]
[ 30553.633] 9: /usr/bin/X (0x8048000+0x26ee7) [0x806eee7]
[ 30553.633] 10: /usr/bin/X (0x8048000+0x1a5da) [0x80625da]
[ 30553.634] 11: /lib/libc.so.6 (__libc_start_main+0xe7) [0x19ace7]
[ 30553.634] 12: /usr/bin/X (0x8048000+0x1a1b1) [0x80621b1]
[ 30553.634] Segmentation fault at address 0x18
[ 30553.634] 
Caught signal 11 (Segmentation fault). Server aborting
[ 30553.634] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 30553.634] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 30553.634] 
[ 30553.696] (II) Power Button: Close
[ 30553.696] (II) UnloadModule: "evdev"
[ 30553.760] (II) Video Bus: Close
[ 30553.760] (II) UnloadModule: "evdev"
[ 30553.824] (II) Sleep Button: Close
[ 30553.824] (II) UnloadModule: "evdev"
[ 30553.888] (II) HP Webcam [2 MP Fixed]: Close
[ 30553.888] (II) UnloadModule: "evdev"
[ 30553.944] (II) A4Tech PS/2+USB Mouse: Close
[ 30553.944] (II) UnloadModule: "evdev"
[ 30553.992] (II) AT Translated Set 2 keyboard: Close
[ 30553.992] (II) UnloadModule: "evdev"
[ 30554.101] (II) UnloadModule: "synaptics"
[ 30554.152] (II) HP WMI hotkeys: Close
[ 30554.152] (II) UnloadModule: "evdev"
[ 30554.152] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 30554.154] (II) fglrx(0): Backup framebuffer data.
[ 30554.197] (II) fglrx(0): Backup complete.
[ 30554.456]  ddxSigGiveUp: Closing log
Comment 14 Martin Klapetek 2011-01-30 20:53:46 UTC
Don, Kate is another KDE editor like KWrite, only more advanced, I believe it is in kdesdk fedora package. Can you please attach that image, which causes your X to crash? I'm on Fedora as well so I'd like to test that one. As to your drivers problem, you should be running either 'radeon' (open-source-version) or 'fglrx' (better-performance-version) driver. Fire up Konsole and type 'lsmod' and see, which one is on the list (and pray not both of them). Anyway, this seems more likely to be a distro bug, not digiKam's. And for helping with your graphics card drivers, please head to fedoraforums.org (there's a guide) or use IRC #fedora channel on irc.freenode.net (but you must be registered to join #fedora).

Michal, what distro are you using?
Comment 15 Michal Thoma 2011-01-31 03:15:25 UTC
Martin, thank you for your comments it gave me some clues. I'm running Ubuntu 10.10 with ATI graphics using proprietary fglrx driver, very recent one (8.801) from user X-Swat repository - merely repackaged binary drivers by ATI.

I just tried to start X with Xorg driver and there were no crash. After that I tried downgrade to fglrx drivers version in official Ubuntu repository (8.780) and again - no crash. So I suppose it's related to the new versions of fglrx driver.

Hopefully it can be solution for Don as well...
Comment 16 caulier.gilles 2011-02-03 09:25:57 UTC
This entry is not relevant of a digiKam problem. Check video driver from your distro...

Gilles Caulier
Comment 17 Don 2011-03-12 13:05:00 UTC
Comment on attachment 55794 [details]
When you move the Slide Bar on the right digikam causes user to log out. See mouse arrow. Configure – 'digiKam'_091.png is the image that I mentioned which caused Digikam to Crash my Fedora 14 Desktio. 

This is the image Configure – 'digiKam'_091.png that Caused the Crash with Digikam.
Comment 18 Don 2011-03-12 14:09:09 UTC
Sorry it has taken me so long to get back with this. I have been busy with other things. I realized that I was having the Crash Problems any time I ran Digikam. Not just when I go into the Color Settings Window. So, I uninstalled Digikam right after my last post on 01-13-11 and have had no more problems with my X Session Crashing to date, 03-12-11. A couple of weeks to a month after I uninstalled Digikam, I also uninstalled all but the xorg-x11-drv-catalyst driver for my Radeon Video Card. I did have an nVidia Driver installed that was in a yum install list that I made to install all of my favorite Apps at one time. But the nVidia driver really just laid dormant, since I don't have an nVidia Card in this machine. I've done this for years in both Fedora and Debian with no problems that I can remember. I only have an Onborad Intel Chip and the new Radeon Video Card in this machine. I have not re-installed Digikam because I don't want to risk having the Crashing problems again. I may try Digikam again when I have the time to deal only with it and risk the crashes again. It's a shame that it doesn't work with Fedora 14 on the Gnome Desktop for me. I have many, many other Apps installed that give no problems and have never had my x11 Desktop Crash Since I uninstalled Digikam with or without the extra unused Video Drivers. I keep thinking that I have encountered this problem with Digikam in years past and just uninstalled it and went on. I know there was a Graphics App with good features, that I had allot of problems with and gave up on it back in about Fedora 7. Not sure now. But, I had just recently found Digikam in my Fedora 14 Repos and decided to try it out. I think I may have been through this before!:O I'm no Coder. But I do know this... You can't expect Operating Systems and Desktop Applications to be written to work with each individual Software Application. Each Application has to be written to work in each and every OS and Desktop Application the the Developers want it to run on. 

Don
Comment 19 caulier.gilles 2023-05-21 06:46:41 UTC
Git commit 7cc7f53b39c9f374ab4a5ef297b41b08dbed062a by Gilles Caulier.
Committed on 21/05/2023 at 05:17.
Pushed by cgilles into branch 'master'.

Start to support Breeze style from Plasma desktop in digiKam bundles to prevent
a broken rendereing of widgets and icons when breeze theme is used.
Intentional: this do not includes decoration and kcm parts, only the core libs
plus theme files --> these implementations must be available as a KF5
component, not in Plasma
A KDE application ALSO work under MacOS and Windows, not ONLY Linux. As usual,
reduce the puzzle please.
Related: bug 385148, bug 470066, bug 406408

M  +67   -2    project/bundles/3rdparty/CMakeLists.txt [INFRASTRUCTURE]
[INFRASTRUCTURE] [INFRASTRUCTURE]
A  +98   -0    project/bundles/3rdparty/ext_breeze/CMakeLists.txt
[INFRASTRUCTURE] [INFRASTRUCTURE] [INFRASTRUCTURE]
A  +32   -0    project/bundles/3rdparty/ext_breeze/breeze-common-rules.patch
M  +4    -1    project/bundles/appimage/02-build-extralibs.sh
M  +5    -1    project/bundles/appimage/config.sh [INFRASTRUCTURE]
M  +5    -1    project/bundles/macports/02-build-extralibs.sh
M  +7    -1    project/bundles/macports/config.sh [INFRASTRUCTURE]
[INFRASTRUCTURE] [INFRASTRUCTURE]
M  +5    -1    project/bundles/mxe/02-build-extralibs.sh
M  +6    -0    project/bundles/mxe/config.sh [INFRASTRUCTURE] [INFRASTRUCTURE]
[INFRASTRUCTURE]
A  +29   -0    project/scripts/bootstrap-breeze.sh

https://invent.kde.org/graphics/digikam/commit/7cc7f53b39c9f374ab4a5ef297b41b08dbed062a
Comment 20 caulier.gilles 2023-05-21 08:04:28 UTC
Git commit 9e8718d743bbbb588fef78ea48b28d8257eb5000 by Gilles Caulier.
Committed on 21/05/2023 at 08:01.
Pushed by cgilles into branch 'master'.

Enable widget styles support under MacOS
Related: bug 385148, bug 470066, bug 406408, bug 414428, bug 279183, bug 413748, bug 198201, bug 410501

M  +1    -0    project/bundles/macports/03-build-digikam.sh

https://invent.kde.org/graphics/digikam/commit/9e8718d743bbbb588fef78ea48b28d8257eb5000
Comment 21 caulier.gilles 2023-05-22 02:55:38 UTC
digiKam 8.1.0 AppImage bundle will provide the Breeze widgets style to render properly all the GUI under Linux.

Select Breeze style/Icons set in Setup/Miscs dialog page.

https://i.imgur.com/nqL5Iak.png

Best

Gilles Caulier
Comment 22 caulier.gilles 2023-05-22 05:37:26 UTC
Git commit da88685a35b3d809bca11a8c65582015b9ce4f55 by Gilles Caulier.
Committed on 22/05/2023 at 05:34.
Pushed by cgilles into branch 'master'.

Switch to Breeze widgets style by default
Related: bug 365262, bug 221065, bug 414428, bug 279183, bug 381855, bug 198201, bug 385148, bug 436259, bug 470066, bug 413748, bug 413879, bug 406408, bug 410501

M  +5    -5    NEWS
M  +2    -2    core/libs/settings/applicationsettings.cpp
M  +2    -2    core/showfoto/main/showfotosettings.cpp
M  +1    -1    core/tests/video/qtav/avplayer/main/MainWindow.cpp

https://invent.kde.org/graphics/digikam/commit/da88685a35b3d809bca11a8c65582015b9ce4f55
Comment 23 caulier.gilles 2023-05-22 06:00:57 UTC
Git commit a7c475aa49fea92d8b7735b7f39381b18bb58fe9 by Gilles Caulier.
Committed on 22/05/2023 at 05:58.
Pushed by cgilles into branch 'master'.

digiKam online documentation: Recommend "Brezze" Widgets style and icons-set instead "Fusion" for all desktop.
Related: bug 365262, bug 221065, bug 414428, bug 279183, bug 381855, bug 198201, bug 385148, bug 436259, bug 470066, bug 413748, bug 413879, bug 406408, bug 410501

M  +2    -2    setup_application/miscs_settings.rst

https://invent.kde.org/documentation/digikam-doc/commit/a7c475aa49fea92d8b7735b7f39381b18bb58fe9