Opened 7 weeks ago
Closed 7 weeks ago
#19147 closed bug (fixed)
[HaikuDepot] no package name in open button
Reported by: | mt | Owned by: | apl-haiku |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta6 |
Component: | Applications/HaikuDepot | Version: | R1/beta5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
When an application package is installed from Haikudepot, Haikudepot shows Open button and Uninstall button. However, Open button does not displays package name while Uninstall button displays package name.
I think PackageManager::_CreateOpenPackageAction() has problem.
https://cgit.haiku-os.org/haiku/tree/src/apps/haikudepot/packagemanagement/PackageManager.cpp#n221
Attachments (1)
Change History (3)
by , 7 weeks ago
Attachment: | haikudepot.png added |
---|
comment:1 by , 7 weeks ago
Given the trace, the DeskbarLink object contains a relative path from where the deskbar link is (for example, ../../../../apps/MyApp
). When a BPath is initialized with that in _CreateOpenPackageAction
, it is normalized from the working directory, and as there's no entry for that (unless you manually start HaikuDepot from a deskbar submenu directory), the path is unset.
comment:2 by , 7 weeks ago
Milestone: | Unscheduled → R1/beta6 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed merged in hrev58201.
Open button, no package name