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

Hashtags not indexed, if new notebook is added #1606

Closed
nhwCoder opened this issue Oct 12, 2024 · 10 comments · Fixed by #1614
Closed

Hashtags not indexed, if new notebook is added #1606

nhwCoder opened this issue Oct 12, 2024 · 10 comments · Fixed by #1614
Assignees
Labels
bug Something isn't working released Available in a released installer

Comments

@nhwCoder
Copy link

Problem to Solve

Hashtags not indexed suddenly (after last Office update).
The only difference I see/imagine is the last Office update (maybe I am wrong, but that seems to be the difference at my PC)

To Reproduce

Steps to reproduce the behavior:

  1. Add "##Test" any page
  2. Wait until hashtag indexer was run
  3. Hashtag not indexed and see in log file that 0 page was scanned
    ..scanned 0 pages, updating 0, in 23ms

Environment (if applicable)

  • OneNote 16.0.18025.20140
  • OneMore Version 6.5.2
@nhwCoder nhwCoder added bug Something isn't working unread I have seen it or had time to refine it yet labels Oct 12, 2024
@nhwCoder
Copy link
Author

INFO

  • Restart of Windows did not change/improve
  • Manually running "Scan Now" also doesn't index hashtags anymore

@stevencohn stevencohn removed the unread I have seen it or had time to refine it yet label Oct 13, 2024
@stevencohn
Copy link
Owner

stevencohn commented Oct 13, 2024

Please attach your log file located at %temp%\onemore.log

@nhwCoder
Copy link
Author

nhwCoder commented Oct 13, 2024

I discovered the following

VARIANT-01: NOT working

  • Alt+F9 = Open "Search Hashtags"
  • Click button "..."
  • Choose Scan now
    RESULT: Hashtags not found/not indexed

VARIANT-02: WORKING

  • Using "Schedule Hashtag Scan"
  • Select "Run the scan now"
  • Click OK
    RESULT: Hashtags found & indexed

AND AFTER RUNNING STEP "VARIANT-02" ONCE - IT WORKS AGAIN FINE (VERY CONFUSING)

  • After I did run VARIANT-01 "Schedule Hashtag Scan" once
  • Now VARIANT-01 is working fine again...
  • Now automatic indexing in background is running fine again

Maybe there is anything Variant-02 ist executing/triggering that after running it once all works fine again...

@nhwCoder
Copy link
Author

Log file
OneMore.log

@stevencohn stevencohn self-assigned this Oct 14, 2024
@nhwCoder
Copy link
Author

MAYBE I found the problem

  • Open dialog "Schedule Hashtag Scan"
    • All notebooks are selected for indexing
  • Add a new notebook
  • Open dialog "Schedule Hashtag Scan"
    • NOT all notebooks are selected for indexing
    • Have to select all notebooks by hand

@nhwCoder nhwCoder changed the title Hashtags not indexed anymore (after last Office update) Hashtags not indexed, if new notebook is added Oct 14, 2024
@stevencohn
Copy link
Owner

stevencohn commented Oct 14, 2024

No, that's just for the scan that you're about to schedule. The unselected notebooks are assumed to be known. Your selections would be either to rescan a known notebook or add a new notebook.

Really, after the initial population, new notebooks are not immediately presumed to be included because their size is unknown so you must manually include them; that needs to be explained in the Wiki tbh

@stevencohn stevencohn added the developing Accepted and development is in progress label Oct 14, 2024
@stevencohn
Copy link
Owner

So yes, this is by design, and why the Schedule feature exists. If a new notebook is added, it may actually be a large notebook and scanning might take some time and interrupt your daytime work, making OneNote unresponsive or sluggish.

What it could do is crack open the notebook and decide that the notebook is small enough to just scan automatically, or notify you that you must manually schedule a scan. I could define "small enough" maybe at 100 pages, that way a brand new notebook is just automatically included.

@jasonjac2
Copy link

I think to be consistent it should notice a new notebook and the UI should say "I've noticed you have opened a new notebook, I can scan it now (if it large, this may cause problems) OR add it on the next schedule.....

@stevencohn
Copy link
Owner

Yep, that's the plan. Something like this:

image

@stevencohn
Copy link
Owner

stevencohn commented Oct 14, 2024

If it's small enough, it will auto-scan. If it's too large, you'll see that notice in the Find Hashtags dialog and click that to open the Schedule Scan dialog

stevencohn added a commit that referenced this issue Oct 15, 2024
stevencohn added a commit that referenced this issue Oct 15, 2024
@stevencohn stevencohn linked a pull request Oct 15, 2024 that will close this issue
@stevencohn stevencohn added next-release Addressed but not yet released and removed developing Accepted and development is in progress labels Oct 15, 2024
@stevencohn stevencohn added released Available in a released installer and removed next-release Addressed but not yet released labels Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Available in a released installer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants