Bug 470885 - Bookmarks sidebar cannot be resized in directory picker portal
Summary: Bookmarks sidebar cannot be resized in directory picker portal
Status: RESOLVED DUPLICATE of bug 421247
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.27.5
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-10 21:31 UTC by kdebugtracker
Modified: 2023-06-10 21:57 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
partially obscured names for entries in left sidebar of directory picker portal (227.34 KB, image/png)
2023-06-10 21:31 UTC, kdebugtracker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugtracker 2023-06-10 21:31:19 UTC
Created attachment 159587 [details]
partially obscured names for entries in left sidebar of directory picker portal

SUMMARY
The sidebar for a directory picking portal cannot be resized left/right to accommodate long names. The sidebar contains names of Places, Remote locations, Recent locations, etc. Some may have long names and may be partially obscured because of the fixed-width sidebar, and no way to remedy it by resizing it to reveal the whole name. There is no tooltip to help see the obscured long name of a place in the sidebar either.

This is for the directory picking portal and not the file picking portal. The file picking portal has the capability to resize the sidebar and does not have this problem.


STEPS TO REPRODUCE
1. In flatpak ungoogled chromium, extensions page, click "Load unpacked"
2. "Select the extension directory. -- Portal" will appear
3. Put mouse at sidebar edge where sidebar meets the directory listing

OBSERVED RESULT
No resize mouse cursor will appear as there is no way to resize the sidebar. The long names of entries in the sidebar will be indicated by ellipses

EXPECTED RESULT
Cursor should change to indicate resizing is available and possible to do. Resizing the sidebar will reveal the long name in its entirety

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.5-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2 

ADDITIONAL INFORMATION
- Clicking the entry in the sidebar will expand the filetree to reveal the sidebar entry's path, but the name of the entry in the sidebar may not be equivalent to the directory path for some entries.
- You can only interact with the latest opened directory picker portal. One at a time. While testing, I opened multiple directory picker portals from different flatpak applications (ungoogle chromium's load unpacked extension directory picker portal, kate's open folder directory portal, obsidian's open vault directory picker portal) and only the portal who was opened last was interactable. This also happens with file picker portals when opened with directory picker portals
- It is not easy to tell which portal belongs to which program. They do not name the program, but rather give a program-specific window title instead. Chromium says "Select the extension directory. -- Portal", Element (Matrix client) says "Open Files. -- Portal" Kate says "Open directory. -- Portal" I think. I'm not sure
Comment 1 Patrick Silva 2023-06-10 21:57:55 UTC

*** This bug has been marked as a duplicate of bug 421247 ***