-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Dialog bug when drag it with mouse #128
Comments
@jarek-insys, your PR has introduced a bug, I'm serving to reproduce it. You will have more details in a few days. Thanks. |
Hi @jarek-insys, I reproduced the bug and I'm try to understand why exist this bug in the resize windows? Thanks for your time |
Hi Vincent @vincenzopalazzo, I have a little bit problem with reproducing that issue. Regards |
Hi @jarek-insys, I use new JDK 13 but I think is the same with all, I think is important the dimension of the mainframe, can you run the demo inside the test dir?? In these cases I have a problem, I think you can help me because you write this code a few week the a go |
@jarek-insys The bug is reproducible with JDK13, thanks for your help |
Hi @vincenzopalazzo, integration.gui.mock.DemoGUITest System related? |
Hi @jarek-insys Linux, but tomorrow I can test on windows, but the bug is only to right corner, like the my forst gif. Thanks. |
Hi @vincenzopalazzo, :) SLES15 java 13 no problem Doesynmatter if I resize next to icon so somewhere else I cannot reproduce problem |
Hi @jarek-insys, I tested on the window and I don't have a problem but I have a problem with JDK 1.8 on Unix systems like Linux mint and OSX sierra. do you have any idea? |
Hi @vincenzopalazzo, :) I don't do magic |
Hi @jarek-insys, Thanks for your help, really this is very strange. It seems that depend on the APP, my test is
P.S: This test built now with 2 Display, so my work station is with two display(1 and 2) I want to add my idea, you think that can depend on "How build the JFileChooser or the JDialog"? In the DemoSwingRatio I declare the FileChooser with the following code, can you note any difference with your declarations?
Thanks for your work, before the release 1.1.1 I will work on this bug but if you want to try to fix it, I created a sandbox with my JDK version and a demo |
Hi @vincenzopalazzo, it's clear now problem is with bugged position over component solution is very simple
Regards |
Hi @jarek-insys, Thanks for your help, tomorrow night I will test it inside for all use case. I try to reproduce the problem with my monitor configurations and I will send you an update tomorrow at these hours. Thanks and sorry for the return in the answer. |
HI @jarek-insys, Sorry, the delay, I have the library under test for a project and I was a little busy with a memory profiling. Now, I can talk about the problem, I update the code with your code and unfortunately don't resolve the problem, but before I want to talk about the problem with my display configuration. I work with two monitors, main monitor and secondary monitor, in the first monitor your code work very well, but if you want to drag the dialog inside the second monitor the dragging work until the middle screen, after that the dragging work like this gif Now, I start the debug and I start to see your code, but I'm losing here
I have dyslexia and dyscalculia problem and for me is very difficult to read code like this without comment. I think the problem is in this part of the code because the frame dragged fine on the main screen. What do you think about this code? the problem should be inside this code? I think for you is simple to understand if the problem is here because you wrote this code. I update the branch dev if you want to test the library with the actual code EDIT with My SOLUTIONI found a solution, I added some print debug and I think I found the problem. This line of code
When you work with a monitor, the dimension is the sum of the dimension, I change the code with the following
and I move the propriety dimension of how class propriety, after that I run the test with more monitor and the test is green. But this problem still exists inside the second monitor after the middle. But now I want to ask your opinion about this solution. Thanks for this idea exchange. |
Hi @vincenzopalazzo, In general like I send before this code was just based on InternalFrameUI. Regards |
Hi @jarek-insys, Thanks for this additional information, I think inside the code of the library there is a logic error. I don't know because is necessary to duplicate the code inside RootPane, the library use the BasicInternalFrameUI. I need to look inside the code to found the problem, if the code exist we can use this code without the JRootPane. |
Fixed inside material-ui-swing-1.1.1-rc1 |
No description provided.
The text was updated successfully, but these errors were encountered: