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

Rel 2.5.0.5244 - Context menu not available in VBE and crash on adding Test Module - Solved (partially) with old rel .5226 #5501

Closed
gicif opened this issue May 22, 2020 · 4 comments
Labels
bug Identifies work items for known bugs

Comments

@gicif
Copy link

gicif commented May 22, 2020

Rubberduck version information
Rubberduck version: 2.5.0.5244
Operating System: Microsoft Windows NT 10.0.18363.0 x64
Host Product: Microsoft Office x64
Host Version: 16.0.12730.20352
Host Executable: EXCEL.EXE

Description
1 - RD context menu not available in VBE (possibily related to issue "Rubberduck: not available in VBE, but loaded in Add-In-Manager #3538")
2 - Excel and VBE are unresponsive after adding Test Module, or opening a project with a test module inside. (possibly related to issue "Excel and VBE are unresponsive #5403")

To Reproduce

  1. Launch Excel (new xlsm file, empty vb project)
  2. Enter VBIDE
  3. Load RD Add-In: RD menu is available and it works, but RD context menu isn't available.
    Immagine
  4. Add a new Test Module: Excel freezes.

Logfile
After loading RD on new xlsm file with VBA empty project and refreshing Code Explorer
RubberduckLog-Startup.txt

After adding a new Test Module
RubberduckLog-TestModule.txt

After loading RD on new xlsm file with VBA empty project and refreshing Code Explorer (rel . 5226)
RubberduckLog-Startup-5226.txt

Additional context
The PC is relatively new (03/2020) and fairly clean. Other main software installed on machine:

  • Microsoft Office Professional 2019
  • SharpDevelop (rel. 5.1.0.5216 - need Microsoft Visual C++ 2008 Redistributable - x86)

Notes

  • Uninstall SharpDevelop, unistall RD, repair Office, restart PC and reinstall RD only, doesn't solve.
  • Tried with Rubberduck v2.5.0.5443-pre, but it doesn't solve
  • Tried with Rubberduck v2.4.1.5226-pre, still having errors in Logfile and context menu isn't yet available, but Excel and VBE remains responsive.

Many many thanks to all contributors for develop and maintain this awesome tool !

@gicif gicif added the bug Identifies work items for known bugs label May 22, 2020
@Vogel612
Copy link
Member

The logs contain some COM exceptions around the RefactorExtractMethodCommand... I dimly recall that other issues with similar behaviour also had that specific command's COM interaction acting up.

AIUI that refactoring is currently undergoing a rewrite because it's somewhat broken if only due to the complexity of the refactoring itself and should be unreachable through the GUI...

@MDoerner
Copy link
Contributor

MDoerner commented Jun 27, 2020

Can you retry with prerelease v2.5.0.5457-pre or newer? With that version, we fixed a bug in the test explorer UI causing freezing in some projects.

@gicif
Copy link
Author

gicif commented Jun 30, 2020

Hi! Thanks for your feedback! I tried with prerelease v2.5.0.5457-pre.
Excel and VBE remains responsive, but context menu isn't yet available and vbe slow down after adding a new test module.
I attach log files at startup and after adding new test module.
Currently, my best working environment remains with v2.4.1.5226-pre: no freezing, no slowdown with test module (and no context menu too, but this is not a big issue for me, really).
Ciao!

RubberduckLog - 5457-pre - Test Module.txt
RubberduckLog - 5457-pre - Startup.txt

@gicif
Copy link
Author

gicif commented Aug 26, 2020

Solved with v. 2.5.1.5557.
Excel and VBE remains responsive after adding a new test module (yet no context menu).
Thanks!

@gicif gicif closed this as completed Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs
Projects
None yet
Development

No branches or pull requests

3 participants