Bug #7285

Yelp crashes when clicking a link to an anchor

Added by anonym 2014-05-26 09:02:56 . Updated 2015-05-31 14:00:48 .

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2014-05-26
Due date:
% Done:

50%

Feature Branch:
bugfix/7285-yelp-crashes-on-anchor
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Sometimes I get errors like:

Document Not Found
The URI ‘#index4h1’ does not point to a valid page.


Other times yelp simply crashes.

We fixed this in commit 64de544 for squeeze, and it seems we may have to something similar for wheezy.


Subtasks


Related issues

Related to Tails - Feature #7391: Browse offline documentation with Tor Browser instead of Yelp Resolved 2014-06-10
Related to Tails - Bug #7390: In Yelp, clicking a link to an anchor opens Nautilus Rejected 2014-05-26

History

#1 Updated by intrigeri 2014-05-27 00:58:21

> We fixed this in commit 64de544 for squeeze, and it seems we may have to something similar for wheezy.

Oh, crap. That’s the kind of technical debt we get for our old half-baked quick hacks.

[… removed useless rant …]

FTR, I’ve had a look, and our reasons for switching to Yelp are still valid. And internal links also behave quite wrongly on current sid (even if I could not crash Yelp there).

#2 Updated by intrigeri 2014-05-27 01:03:33

  • Subject changed from Anchor links are broken in yelp in Wheezy to Anchor links are broken in Yelp
  • Status changed from New to Confirmed

#3 Updated by intrigeri 2014-06-10 10:01:31

  • Assignee set to intrigeri

I’ll at least bring it into a non-crashing (but maybe not so good) state.

#4 Updated by intrigeri 2014-06-10 10:43:52

  • Status changed from Confirmed to In Progress

#5 Updated by intrigeri 2014-06-10 14:24:58

  • % Done changed from 0 to 10

https://bugs.debian.org/751170 says it all: we reported it upstream in 2012 (https://bugzilla.gnome.org/show_bug.cgi?id=686095), provided a fix, that was merged and released in Yelp 3.8.0. But we failed to have the bug fixed in Wheezy.

With this patch applied, Yelp doesn’t crash anymore, so I’ll at least upload a package that includes it to a topic branch. Still, things are not very good either (in non-Tails Wheezy):

  • clicking an anchor link opens Nautilus in the parent directory of the currently viewed HTML file
  • double-clicking an anchor link works fine
  • right click -> open link works fine
  • “right click -> open link in new window” works fine

I’m starting to suspect a MIME association problem, and I think I should try and reproduce this on Fedora..

#6 Updated by intrigeri 2014-06-10 15:35:28

  • Feature Branch set to bugfix/7285-yelp-crashes-on-anchor

intrigeri wrote:
> With this patch applied, Yelp doesn’t crash anymore, so I’ll at least upload a package that includes it to a topic branch.

Done.

#7 Updated by intrigeri 2014-06-10 15:39:19

  • copied to Bug #7390: In Yelp, clicking a link to an anchor opens Nautilus added

#8 Updated by intrigeri 2014-06-10 15:39:36

  • copied from deleted (Bug #7390: In Yelp, clicking a link to an anchor opens Nautilus)

#9 Updated by intrigeri 2014-06-10 15:39:51

  • blocks Bug #7390: In Yelp, clicking a link to an anchor opens Nautilus added

#10 Updated by intrigeri 2014-06-10 15:42:32

  • Subject changed from Anchor links are broken in Yelp to Yelp crashes when clicking a link to an anchor
  • % Done changed from 10 to 50

intrigeri wrote:
> With this patch applied, Yelp doesn’t crash anymore, so I’ll at least upload a package that includes it to a topic branch. Still, things are not very good either (in non-Tails Wheezy):

The non-crashing part of this bug is now known as Bug #7390.

#11 Updated by intrigeri 2014-06-10 17:21:41

  • blocked by Feature #7391: Browse offline documentation with Tor Browser instead of Yelp added

#12 Updated by intrigeri 2014-06-11 06:53:07

  • Assignee changed from intrigeri to anonym
  • QA Check set to Ready for QA

anonym, please close as rejected once the fix in Feature #7391 is merged.

#13 Updated by intrigeri 2014-06-12 16:03:06

  • Assignee deleted (anonym)
  • Target version deleted (Tails_1.1)
  • QA Check deleted (Ready for QA)

#14 Updated by intrigeri 2014-06-12 16:03:33

  • blocks deleted (Feature #7391: Browse offline documentation with Tor Browser instead of Yelp)

#15 Updated by intrigeri 2014-06-12 16:03:52

  • related to Feature #7391: Browse offline documentation with Tor Browser instead of Yelp added

#16 Updated by intrigeri 2014-06-12 16:07:25

  • blocked by deleted (Bug #7390: In Yelp, clicking a link to an anchor opens Nautilus)

#17 Updated by intrigeri 2014-06-12 16:07:58

  • Priority changed from Elevated to Normal
  • Parent task set to Feature #7409

#18 Updated by intrigeri 2014-06-20 13:48:22

Current status: a package with the bugfix is in the corresponding APT suite.

#19 Updated by BitingBird 2015-04-10 20:40:14

  • related to Bug #7390: In Yelp, clicking a link to an anchor opens Nautilus added

#20 Updated by intrigeri 2015-05-31 14:00:48

  • Status changed from In Progress to Rejected

See Bug #7285#note-12.