Jeffser / Alpaca

An Ollama client made with GTK4 and Adwaita
https://jeffser.com/alpaca
GNU General Public License v3.0
390 stars 41 forks source link

Reduce disruption in the chat #266

Open flobzex opened 2 months ago

flobzex commented 2 months ago

Describe the bug When navigating through the messages, clicking on another message focuses the TextView and moves the scroll to it. This is a little annoying especially when messages are long.

Expected behavior The view should not scroll.

Fix Setting the property can-focus of the Gtk.TextViews to false will make them not get focused when clicked, reducing the disruption.

Jeffser commented 2 months ago

Hi thanks for the suggestion, unfortunately I can't remove the focus to the messages because of accessibility (screen readers), I think I should focus the message entry textbox, that should probably fix it

flobzex commented 2 months ago

Didn't think of that... Do you think it could be an option in the settings dialog? It could warn the user about accessibility.