Summary: | Properties tab does not display the full caption of a picture | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | MarcP <iwannaberich> |
Component: | Usability-Ergonomy | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, iwannaberich |
Priority: | NOR | ||
Version: | 7.9.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 8.1.0 | |
Sentry Crash Report: | |||
Attachments: | Captions in the Properties panel |
Description
MarcP
2022-10-08 20:29:41 UTC
This problem is fixed in 8.0.0 https://i.imgur.com/2SB3nch.png Gilles Caulier Hi Gilles, I don't see a difference in v8.0.0. I just tried it, and only the last few words of each paragraph are shown on the Properties tab. This is also visible in the screenshot you just posted. Resize the properties tab and all 100 first words will be displayed... If you want all the rest, go to Captions tab.. Gilles Mmm, that is not my experience. For instance, I have a photo with this caption (53 words): "During circle time, our inventors engaged with some sensory books. Each page has a different texture of fabrics for them to explore with their senses. They enjoyed touching the soft smooth fur and the rough glittery pages. Our inventors engaged with their fine motor skills by practicing flipping, opening, and closing the pages." But in the Properties panel, I can only read "...flipping, opening, and closing the pages." I'm using the 8.1.0 preview build date 22/4/23 The "..." before the text is the squezzed text label used to display long strings. It used everywhere on the right side of the properties tab to display contents. Here i played with the new OCR tool which host long string in caption. The description is cut voluntary at 100 characters, but i can see the complete string if tab as the right width. Your string as paragraph separated by endl ? Gilles > Your string as paragraph separated by endl ? I think in this case it's a single paragraph. >The "..." before the text is the squezzed text label used to display long strings. It used everywhere on the right side of the properties tab to display contents. Couldn't we automatically fit the text, and limit it to the first X lines (or whatever amount of words fit according to the panel width and font size)? yes, we have this code of code used in the icon view item tool tip. How is rendered this kind of string in the tool tip ? Gilles Like this : https://i.imgur.com/bcfAr6U.png Git commit 9dccaf0468748562f44ed7837c2222b5135d4d79 by Gilles Caulier. Committed on 05/05/2023 at 22:06. Pushed by cgilles into branch 'master'. use QLabel to display caption, not DAdjustableLabel M +59 -50 core/libs/properties/itempropertiestab.cpp https://invent.kde.org/graphics/digikam/commit/9dccaf0468748562f44ed7837c2222b5135d4d79 Git commit d010c9e522a873a9863cc7c144515c73431d2d9b by Gilles Caulier. Committed on 07/05/2023 at 16:33. Pushed by cgilles into branch 'master'. Add Title x-default value in the image properties tab Related: bug 377857 M +15 -1 core/libs/properties/itempropertiessidebar.cpp M +1 -0 core/libs/properties/itempropertiessidebardb.cpp M +75 -58 core/libs/properties/itempropertiestab.cpp M +1 -0 core/libs/properties/itempropertiestab.h https://invent.kde.org/graphics/digikam/commit/d010c9e522a873a9863cc7c144515c73431d2d9b |