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

Zayed Al-Saidi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
      Version First|24.12.3                     |6.28.0
        Reported In|                            |
           Assignee|[email protected]   |[email protected]
            Product|dolphin                     |frameworks-kio
          Component|general                     |Places

--- Comment #2 from Zayed Al-Saidi <[email protected]> ---
This issue is not specific for Dolphin as Dolphin just use the KIO widget for
Places Panel.  You can see the same places panel in Open/Save dialog in all KDE
applications. 

Most likely the issue is in KFilePlacesViewDelegate::paint() where the progress
bar is drawn. 
AI suggest this solution:
            const int radius = capacityBarHeight / 2;
            QRect capacityBgRect(rectText.x(), rectText.bottom(),
rectText.width(), capacityBarHeight);
            capacityBgRect.adjust(0.5, 0.5, -0.5, -0.5);
            QRect capacityFillRect = capacityBgRect;
            capacityFillRect.setWidth(capacityFillRect.width() * usedSpace);

            // Fix for RtL (Arabic) layouts
            if (!isLTR) {
                capacityFillRect.moveRight(capacityBgRect.right());
            }

            QPalette::ColorGroup cg = QPalette::Active;

But as I'm not programmer, please take it with a grain of salt :)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to