danielo515 / TW5-contextPlugin

A plugin to allow preview with word highlight within searches but not limited to that
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

[BUG] Menu bar plugin & ContextPlugin: search is not working in Menu bar #21

Open nicolnt opened 2 years ago

nicolnt commented 2 years ago

Describe the bug

Not sure if it has something to do with TiddlyWiki's Menu Bar or ContextPlugin

Where

Menu bar plugin, context search feature

Problem

Searching into context is not working, it doesn't take entered text in the Menu bar search bar into account.

Surprisingly it's connected to the side bar PageControls search field.

Attached screenshots

Menu bar not taking keyword into account

image

Menu bar search taking the wrong search into account

image

Expected behavior

Menu bar search being independent from the side bar search.

To Reproduce

  1. Install ContextPlugin
  2. Activate Menu bar
  3. Click the search input in the Menu bar and Context
  4. Try to search
  5. Tiddler list stays unchanged (eg. not filtered)
  6. Type something in sidebar search and start again at step 3.

Screenshots

No response

TiddlyWiki Configuration

Versions

Desktop (please complete the following information):

Additional context

No response

danielo515 commented 2 years ago

Yeah, that is probably because it just uses a global tiddler that is only set by the search sidebar. I don't remember the details right now