Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Graph on Combobox #433

Open
LBeghini opened this issue Oct 30, 2023 · 1 comment · May be fixed by #442
Open

Invalid Graph on Combobox #433

LBeghini opened this issue Oct 30, 2023 · 1 comment · May be fixed by #442
Assignees
Labels
bug Something isn't working

Comments

@LBeghini
Copy link
Member

When adding a new usual graph from the template on a filtered .g6 file, the software adds to the combobox 2 items:

  • an empty graph
  • the actual graph the person created

When clicking on the blank graph, the software throws an error and adds the label "Invalid Graph" to it.

Investigating, it was discovered that the filtered .g6 file has a final line break, and when adding another graph, the blank line is kept, thus creating the invalid graph.

Note
This problem is related to the issue solved on #397

Example

GQhTVS
GQjnV[
GQjn^[
GQzn^[
GTm|~w
GTm|~{

Esa?

Demonstration

Graph-Filter-wsgt_graphs g6-2023-10-29-21-04-41

@LBeghini LBeghini added the bug Something isn't working label Oct 30, 2023
@rosaigor138 rosaigor138 self-assigned this Nov 9, 2023
@atilaajones
Copy link
Contributor

@LBeghini, I observed that the similar behavior occurs when inserting a new usual graph. The program inserts a blank line at the end. This can be analyzed together. I commented in PR #442

@rosaigor138 rosaigor138 linked a pull request Nov 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 👀 Review
Development

Successfully merging a pull request may close this issue.

3 participants