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)

haikudepot.png (33.4 KB ) - added by mt 7 weeks ago.
Open button, no package name

Download all attachments as: .zip

Change History (3)

by mt, 7 weeks ago

Attachment: haikudepot.png added

Open button, no package name

comment:1 by madmax, 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 waddlesplash, 7 weeks ago

Milestone: UnscheduledR1/beta6
Resolution: fixed
Status: newclosed

Fixed merged in hrev58201.

Note: See TracTickets for help on using tickets.