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

GUI fails editing values of the extended attributes #528

Open
jmvillalba opened this issue Nov 25, 2021 · 4 comments
Open

GUI fails editing values of the extended attributes #528

jmvillalba opened this issue Nov 25, 2021 · 4 comments

Comments

@jmvillalba
Copy link

Hi!

I use Doorstop and doorstop GUI. It's a basic tool but useful (GUI). But I'm having problems with the values of the extended attributes when I edit the values trough the GUI.

I've resolve the problem, two lines code. And I would like to submit the changes, but I've dudes about the correct process.

Could you help me?

@jmvillalba jmvillalba changed the title Gui extended attribute corruption Gui fails editing values of the extended attributes Nov 25, 2021
@jacebrowning
Copy link
Member

@jacebrowning
Copy link
Member

You could also paste the updated code here for someone else to make the change.

@neerdoc neerdoc added this to the v2.4 milestone Mar 9, 2022
@jacebrowning jacebrowning changed the title Gui fails editing values of the extended attributes GUI fails editing values of the extended attributes Mar 9, 2022
@jmvillalba
Copy link
Author

Hi @jacebrowning and @neerdoc !

Sorry for the delay.

I will paste the code in the milestone v2.4 (v3.1)

@jmvillalba
Copy link
Author

jmvillalba commented Nov 4, 2022

in application.py At line 626 at function def display_extended(self, *_):

I've change this line
self.text_extendedvalue.replace('1.0', tk.END, self.item.get(name, ""))
to this
value = self.item.get(name, "")
self.text_extendedvalue.replace('1.0', tk.END, value)
self.stringvar_extendedvalue.set(value)

with this change I get that when navigating between requirements with extended attributes, sometimes these attributes are modified with the values of the previous requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants