Daydreamer-riri / PowerToys-Run-WebSearchShortcut

This is a simple PowerToys Run plugin for quickly select a specific search engine to perform searches.
MIT License
135 stars 9 forks source link

Text Jittering and Overlapping When Typing Long Prompts #25

Open DinMon opened 3 months ago

DinMon commented 3 months ago

When performing quick and short searches, the WebSearchShortcut extension functions correctly. However, when typing longer prompts, such as those intended for the Perplexity.ai website, the text input field exhibits significant issues. Specifically, the text flashes, jitters, and at times, characters overlap, making it difficult to compose the prompt accurately.

Steps to Reproduce:

  1. Open the WebSearchShortcut extension through PowerToys using command.
  2. Begin typing a short search query to observe normal behavior.
  3. Now, type a lengthy prompt (e.g., for Perplexity.ai).
  4. Observe the text input field for flashing, jittering, and overlapping characters.

Expected Behavior:

The text input should remain stable and characters should not overlap, regardless of the length of the prompt being typed.

Actual Behavior:

Additional Information:

ScreenRecording2024-07-25at7 12 32PM-ezgif com-video-to-gif-converter

Daydreamer-riri commented 3 months ago

‌‌‌This is the built-in inline hint of Powertoys Run, which will appear in any plugin.

This is its normal behavior: image

This is another plugin with the same behavior: image

We should report this issue to Powertoys.

Daydreamer-riri commented 2 months ago

‌‌‌‌‌The issue has already been raised in Powertoys: https://github.com/microsoft/PowerToys/issues/13554

DinMon commented 2 months ago

I have tried using Everything PowerToys, there is does not happen because they are not returning the result list every call but using ‘yield’ for the execution.

On Mon, 5 Aug 2024 at 3:18 PM, Riri @.***> wrote:

‌‌‌‌‌The issue has already been raised in Powertoys: microsoft/PowerToys#13554 https://github.com/microsoft/PowerToys/issues/13554

— Reply to this email directly, view it on GitHub https://github.com/Daydreamer-riri/PowerToys-Run-WebSearchShortcut/issues/25#issuecomment-2268193255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJCYJ7PBQJHJDFX5AZUV3LZP4DJ5AVCNFSM6AAAAABLODZ2B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRYGE4TGMRVGU . You are receiving this because you authored the thread.Message ID: <Daydreamer-riri/PowerToys-Run-WebSearchShortcut/issues/25/2268193255@ github.com>

Daydreamer-riri commented 2 months ago

‌‌‌‌‌‌‌This is mainly due to the incorrect position of the hint text in powertoys run itself. You can find this in any plugin that has set the QueryTextDisplay field and supports long text input, such as the built-in:

image

The issue at https://github.com/microsoft/PowerToys/issues/13554 is still open, which might indicate that this issue is not a high priority.