-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allows a subview reference the superview of the subview superview. #10
Allows a subview reference the superview of the subview superview. #10
Conversation
Hmmmm... they are not failing for me. What do you mean? |
Oh, you mean the new unit test you added in this PR? Did this issue occur before my PR? |
Yes, but isn't worth fixes in the develop because the superview param doesn't exist. |
Why |
… not reproduce (gui-cs#2332)" This reverts commit c85ff95.
af29ceb
to
006f57b
Compare
I also did this change in the develop in gui-cs#2383 |
@tig I did a rebase from the develop branch into your PR to be more easy to find the changes that are afterwards. It seams there is some re-bugs in this PR that was already fixed on the developer branch, like in the |
…) does not reproduce (gui-cs#2332)" committed twice on 6bb90ed and 28d7be7
@tig I found the offending commit and fixed in 534d4ea. |
…s not needed because they already overridden the ToString method.
@tig the changes you made on the |
… GetNeedDisplay and fixing some typo.
…y reusing common code.
@tig I think this already working as before more or less. I finished it, so when you have time, please review. |
Because it doesn't access any instance vars, and making it static will make breaking it out to a separate |
Thank you. I'm really struggling with merging these days. I don't know if its me doing things incorrectly, or just the complexity. It's one of the reasons I've started naming my branches with either v1_ or v2_ prefixes (to help me avoid being confused). |
It was only using the |
You welcome.
I understand you, believe me. I also had struggling with the weird behavior of this PR and only rebasing allowed to find what was causing it. When a lot of conflicts come out it's very hard to resolve if we don't know all the modifications.
Well thought, that really helps to filter the branches. @tig I need you help me to reason about the following:
As you can analyze the |
Here's my opinion: The original design of gui.cs, involving Since then we have added more and more functionality like In my proposed design for v2 (documented in I came to the conclusion that I think we leave v1 as it was at v1.9 and just admit that it's not worth hacking in more and more small fixes to try and work around this design flaw. There are dozens of users of v1 that are perfectly happy with the features and capabilities of v1.9 and any bugs they hit due to this flaw can be worked around relatively easily. I think we use v2 as an opportunity fix this design flaw at a very deep level. Here is a practical proposal (that may feel painful):
Please discuss this here: gui-cs#1940 |
I agree and I like the |
@tig I'm closing this because I submitted the gui-cs#2385 on the v2. The behavior with the button redraw doesn't reproduce anymore. I hope you don't mind. |
@tig if you run the unit test without this fix it will fail.