Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Embedded Displays and Template/Instances handle relative filepaths differently

Open
#3,803 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
java
Domain
desktop

Research direction

Start by opening the attached minimal example and comparing how an Embedded Display and a Template/Instance resolve file-widget paths. Trace the display path-resolution entry points for both cases; the payload does not name specific files or tests. Done means Template/Instance file paths resolve relative to the sub-display's directory, consistently with Embedded Display behavior.

Written by the indexing model from the issue text.

Description

When a main display embeds a sub-display that contains a file widget (picture, symbol, display etc.) the main display constructs the path to that file differently depending on whether the sub-display is an Embedded Display or a Template/Instance.

If Embedded Display, the main display interprets the filepath as relative to the sub-display's directory, which is what I would expect.

If Template/Instance, the main display interprets the filepath as relative to the main display's directory, which has undesirable consequences.

See attached minimal example. embedded-test.zip

This comes up in real life for example if a user wants to instantiate multiple copies of motor/motorApp/op/bob/autoconvert/motorx.bob with Template/Instance. The buttons to for example motorx_setup.bob won't work.

Dominant language
Java
Stars
130
Forks
132
Avg merge
2d 12h
Merged PRs (30d)
22

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ControlSystemStudio/phoebus

All issues in ControlSystemStudio/phoebus

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.