Ticket #2238 (closed bug: obsolete)

Opened 2 years ago

Last modified 2 months ago

scripts can't be run from link hud

Reported by: danvisel Owned by:
Priority: major Milestone: M12_RELEASE
Component: SCRIPTING Version: 2.0
Keywords: Cc:
Ticket_group: Effort:
Category: unknown Importance:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: danvisel Design_owners: deni
Imp._owners: deni Test_owners:
Design_reviewers: pap Analysis_reviewers: deni
Changelog: Imp._reviewers: pap
Test_reviewers: Analysis_score: 5
Design_score: 4 Imp._score: 4
Test_score: 0

Description

1. Make a new book.
2. Add a new script - write your own or import one.
3. Add a frame to the page.
4. Open the frame's link HUD, add a link that "on mouse pressed" "run script".

The drop-down script menu has nothing in it that can be selected. This is true of both frame-based links and text-based links.

Attachments

run-script-action.patch Download (3.5 KB) - added by deni 2 years ago.

Change History

Changed 2 years ago by danvisel

  • status changed from new to s1b_analysis_finished
  • analysis_owners set to danvisel

Changed 2 years ago by danvisel

  • milestone set to M12_RELEASE

Changed 2 years ago by deni

  • design_owners set to deni
  • status changed from s1b_analysis_finished to s2a_design_started
  • implementation_owners set to deni
  • analysis_reviewers set to deni
  • analysis_score changed from 0 to 5

Changed 2 years ago by deni

  • status changed from s2a_design_started to s3b_implementation_finished
  • In RunScriptConfigurationPanel :
    • Use AppViewUtil.getCurrentBookDocView(this) instead of findParentElement(BookDocView.class) to find the responsible BookDocView.
    • When searching for the selected script, take into account that the ResourceRefs link actions hold are relative from the link holder. Otherwise, when you create a link rule 'MOUSE RELEASED - Run Script A', the next time you select this rule as current, you will not see the script name (although in the model it will be correct).
  • In ON_RUN_SCRIPT_ACTION operation in RunScriptLogic use the access parameter of the event, instead of the ResourceView context. Otherwise, 'Run script...' actions will not work for text links.

Changed 2 years ago by deni

Changed 2 years ago by pap

  • status changed from s3b_implementation_finished to s3c_implementation_ok
  • design_score changed from 0 to 4
  • design_reviewers set to pap
  • implementation_score changed from 0 to 4
  • implementation_reviewers set to pap
  • I like it :)
  • Commited in [8431].

Changed 2 months ago by meddle

  • status changed from s3c_implementation_ok to closed
  • resolution set to obsolete

Closing all the tickets before M Y1

Note: See TracTickets for help on using tickets.