Coder Social home page Coder Social logo

Comments (12)

richienyhus avatar richienyhus commented on May 29, 2024

20

from artpaint.

deepango avatar deepango commented on May 29, 2024

Is the URL mentioned is dead?

from artpaint.

richienyhus avatar richienyhus commented on May 29, 2024

Yeah osdrawer has been dead since around 2013, HaikuArchives is kind of the spiritual successor to it.

Although I was the original bug reporter, I created the issue on behalf of a student in the 2012 Google Code-In contest, so I can't give you anymore details. I checked the original bug report with archive.org , but the original ticket didn't have any useful information.

from artpaint.

deepango avatar deepango commented on May 29, 2024

Clicking Help -> Shortcuts should open a pop-up and just give a list of shortcuts ?

from artpaint.

humdingerb avatar humdingerb commented on May 29, 2024

"Shortcuts" used to be part of ArtPaint's accompanying documentation. "shortcuts.html" being one page of it. I'd suggest to import the complete docs into the HaikuArchives repo and thus make the "Help" and "Shortcuts" menu item work.
I found the "Documenatation" folder in an older archive.

The docs can then be updated.

from artpaint.

richienyhus avatar richienyhus commented on May 29, 2024

@humdingerb @DigiB0y The online version of the page is located here: http://haikuarchives.github.io/ArtPaint/shortcuts.html

That page comes from this branch of the ArtPaint repo:
https://github.com/HaikuArchives/ArtPaint/tree/gh-pages

from artpaint.

PeteCA avatar PeteCA commented on May 29, 2024

Why are these files not in the master branch? I just built a "2.1.1" version of ArtPaint (http://goodeveCA.net/ArtPaint) that once again includes the (slightly updated) documentation (and some other fixes -- see the Pull Requests), but the docs really should be here and included in the recipe so they get to HaikuDepot as well. I'll add the docs to my own github for a future PR.

from artpaint.

deepango avatar deepango commented on May 29, 2024
BPathFinder pathFinder;
	BStringList paths;
	BPath path;
	BEntry entry;

	status_t error = pathFinder.FindPaths(B_FIND_PATH_DOCUMENTATION_DIRECTORY,
		"packages/ArtPaint", paths);

	for (int i = 0; i < paths.CountStrings(); ++i) {
		if (error == B_OK && path.SetTo(paths.StringAt(i)) == B_OK
			&& path.Append("shortcuts.html") == B_OK) {
			entry = path.Path();
			entry_ref ref;
			entry.GetRef(&ref);
			be_roster->Launch(&ref);
		}
}

Adding this piece of code and the documentation files should solve the issue ?

from artpaint.

humdingerb avatar humdingerb commented on May 29, 2024

That would be one way to do it, though it's overly complicated.

OTOH, since ArtPaint is already in it's own Artpain folder under "apps" which contains also a "add-ons" folder, we could as well keep the documentation and tutorial etc. folders there, too.
That would entail finding the install location of ArtPaint at runtime. You can see how at e g. QuickLaunch.cpp#L111

from artpaint.

PeteCA avatar PeteCA commented on May 29, 2024

from artpaint.

dsizzle avatar dsizzle commented on May 29, 2024

This issue should be closed - Help->Shortcuts works fine in the 2.2.0 release

from artpaint.

humdingerb avatar humdingerb commented on May 29, 2024

Indeed.

from artpaint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.