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

Tester - Problems /Bugs v 2.8 Final #128

Closed
hab123 opened this issue May 19, 2013 · 3 comments
Closed

Tester - Problems /Bugs v 2.8 Final #128

hab123 opened this issue May 19, 2013 · 3 comments
Assignees
Labels
Milestone

Comments

@hab123
Copy link

hab123 commented May 19, 2013

Summary of my test:
NOTE:
i just used the binarie one for testing: https://github.com/dockpanelsuite/binaries/blob/master/DockPanel_2_8_0.zip (Same problem if i use the source with MS VS 2010 and complie it).
i just started the programm and didnot change any thing in Settings. Documentstyle- Docking MDI, Schema: 2005VS
MY OS: Windows 7

  • Function "Close all but this one" doesnot work fine.
  1. show layout by predefind xml file
  2. active the windows "Document3" (just click with the Maus on Button-Document3).
  3. Click File -> Close all but this one.
  4. the result -> it's closed Document1, Document3, Document4
    Screenshot before(Screenshot-1) :
    1

Screenshot after (Screenshot-2)
2

  • another Problem with Close all but this one:
    1. show layout by predefind xml file
      (Screenshot-3)
      1
    2. dock Document3 to Document4
      (Screenshot-4)
      1
    3. Click File -> Close all but this one.
      the result -> See Screenshot
      (Screenshot-5)
      1
  • another Problem with "Close all but this one":
    1. show layout by predefind xml file
    2. close only Documents: (Document1, Document2 Document3, Document4)
      go to file-> Close all But this one and you see it's active.
    3. active Solution Explorer for example or other (klick with the mous)
      the Solution Explorer doesnot close.
      (Screenshot-6)
      1

  • Problem with Function "Close all" & "Close":
    1. show layout by predefind xml file
      (Screenshot-7)
      1
    2. Click File -> Close all.
      the result it's closed all (Documents, Solution explorer Task List etc....)
      see screenshot
      (Screenshot-8)
      1
      so if we close all Documents (klick on x)
      (Screenshot-9)
      1
      Check now File -> Close All ... you see Close All & Close is not active. But "Close All but this one" is active.
      (Screenshot-10)
      1
      the question now: what's the function for "Close all" its close only the Documents or Close all(every thing).

If it's Close only Documents without (Explorer, Task List, etc ...) then, it's not working fine. See below.(it's closed all ). See (Screenshot-8)

if it's Close every thing(Documents , Task List, Output, Solution Explorer etc...) then it's not working fine too. See (Screenshot-10) - (Function "Close All" and "Close" is not active)

  • Problem with open Solution Explorer, Task List, Output, Toolbox after using "Close all"
    1. show layout by predefind xml file
    2. file -> Close all
    3. now open Solution Explorer or Task List or Output or Toolbox
      ERROR
      (Screenshot-11)
      1
      it's mean cannot Cannot access a disposed object 'DummySolutionExplorer'

  • Problem: after double Click on a Document, the Program go to background
    1. open any programm (example firefox, Windows Explorer etc... ) and leave the windows open also dont minimize it.
    2. start now DockPanel -> click show layout by predefind xml file
    3. double click on Doument2 or Document4
      (Screenshot-12)
      1
  1. then close the document
    (Screenshot-13)
    1
    the programm go to background

  • Problem MDI Document:

start programm

  1. show layout by predefind xml file
  2. click on document3 (active the document)
  3. click on MDI Document->Test
    the result is document1 and not document3
    (Screenshot-14)
    1

  • Active Document and docking
    start programm
    1. show layout by predefind xml file
    2. write some thing in the document3 to make it active. (it doesnot gonna active if you only click on document3)
      (Screenshot-15)
      1
  1. check if's active -> MDI Document -> Test
    (Screenshot-16)
    00407
  2. now open a new document. it doesnot dock it near document3.
    (Screenshot-17)
    1

i hope this help you.
i will test more and i will write you again.if it's ok???

@lextm
Copy link
Member

lextm commented May 20, 2013

Thanks for your testing. A few suggestions to you,

  1. Please try to categorize the test results. It is not easy to review what you have typed, as it is not well organized. If you make it clear that several kinds of problems occur in the sample projects (main window focus issue, close all issue, close all but this one issue, and so on), you don't need to create such a long thread, but can split it into small issues individually.
  2. Once you split the issues, you will see that some of them are already reported and under investigation (main window focus issue for example in Focus is not set to main form when floating document is closed #71).
  3. (Optional but recommended if you can) Since the source code is available, you might try to make changes and see if simple changes can remedy the issues. We welcome patches, as neither of the current maintainers works on this project full time.

@roken
Copy link
Member

roken commented Jun 22, 2013

@hab123 -- The amount of detail in these issue reports is incredible, thank you very much. Providing such detailed repro steps makes life so much easier!

There's a lot here (lextm was on point with his recommendation of breaking these out thematically into multiple issues), let me try to walk through them one-by-one:

  • Close All But This 1 - Wrote DockingMDI - Programatically Closing Document Changes Active Document #137 to address this bug (see for details).
  • Close All But This 2 - Same issue as above.
  • Close All But This 3 (all documents closed) - "Close All But This One" should be disabled in this case to be consistent with the other close options. Solution Explorer should not close because it is not a "document" (a content docked in the document area), it is docked to the right pane. Note that this is an issue with the sample program rather than the library itself.
  • Close/Close All - Close and Close All should only close documents in order for the sample to maintain a logical analogy to Visual Studio. So the menu items are disabling properly, but their function is not. Note that this is an issue with the sample program rather than the library itself.
  • Exception after trying to show Solution Explorer after Close All - Same as above, solution explorer should not have been closed in the first place.
  • Closing float window doesn't focus main window - Fixed via Focus is not set to main form when floating document is closed #71 (as per lextm previously)
  • MDI Test - Yep, there's something funny going on here.
  • New Document Location - This would be a good enhancement, I have created Initial Content Docking Should Be Placed In Active Pane #138.

@roken
Copy link
Member

roken commented Jun 22, 2013

The two issues with the sample application have been corrected, and #139 has been opened to address the MDI Test issue with the toolbar merging. Everything has been addressed/tracked.

@roken roken closed this as completed Jun 22, 2013
fxbit pushed a commit to fxbit/dockpanelsuite that referenced this issue Feb 14, 2014
fxbit pushed a commit to fxbit/dockpanelsuite that referenced this issue Feb 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants