Version: (using Devel) Installed from: Compiled sources On displaying the contents an automatically detected camera, USB mass storage or card reader, the Camera GUI window title includes a '&'. I guess that's the accelerator from the menu Action.
Right, but only on auto detected devices, not when importing from folders. I will have a look on it... Andi
SVN commit 907543 by aclemens: Remove single ampersand characters from action text to avoid displaying them in the CameraUI window title. Since single ampersand is used for accelerator shortcuts, we don't need to display them in the window title. CCBUG:180006 M +8 -1 digikamapp.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=907543
Is there a better solution then this one? If not, I think we can close it again. Andi
Darn, you made me think about it! QString QAction::iconText() uses a strip function in qaction.cpp to clean up the icon text without using a QRegExp. I tried that and it's clean, just use it instead of QAction::text().
Oh yes, right!! This was nearly too easy :-)
SVN commit 907551 by aclemens: use iconText() instead of a RegEx to remove ampersand characters from CameraUI window title BUG:180006 M +1 -7 digikamapp.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=907551
Thanks for looking at it :)
(In reply to comment #7) > Thanks for looking at it :) > I think this whould be reopened as of today (r916085) the "&" is shown on my auto-detected canon 350D
Are you sure that the character is not a part of your card's or camera's name? Can you provide a screenshot of the problem (if possible with the menu entry as well)? Andi
(In reply to comment #9) > Are you sure that the character is not a part of your card's or camera's name? > Can you provide a screenshot of the problem (if possible with the menu entry as > well)? > > Andi > Andi, The menu entry did not contains any "&". Screenshot and terminal output in some minutes ;)
(In reply to comment #10) > (In reply to comment #9) > > Are you sure that the character is not a part of your card's or camera's name? > > Can you provide a screenshot of the problem (if possible with the menu entry as > > well)? > > > > Andi > > > > Andi, > > The menu entry did not contains any "&". Screenshot and terminal output in some > minutes ;) > SunLocator::update() digikam(16536)/digikam (core) Digikam::DigikamApp::checkSolidCamera: fillSolidMenus: Found Camera " USB Imaging Interface" protocols ("ptp") drivers ("gphoto") digikam(16536)/digikam (core) Digikam::DigikamApp::openSolidCamera: Found camera from ids 1193 12527 camera is: "Canon EOS 350D" at "usb:"
Created attachment 30564 [details] Camera gui showing & before camera name
SVN commit 916170 by aclemens: Use iconText() for openSolidCamera() as well CCBUG:180006 M +1 -1 digikamapp.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=916170
Salvatore, can you checkout the latest revision to see if the bug has been fixed now? Andi
> can you checkout the latest revision to see if the bug has been fixed now? > > Andi > Another little bug squashed in a couple of hours. You guys are amazing! Keep it as closed...