-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

i don't know if it's only me, but the input field,the one i am writing thi-text in, feels uncomfortable. it is only one line at first,. i wish it was an input field like memo from the beginning. also right now i am afraid to press enter because it won't start from the new line, it will post my unfinished text. this doesn't happen with the long text field.


Posted in: s/Lagrange

๐Ÿ™ norayr

Apr 30 ยท 3 weeks ago ยท ๐Ÿ™ 1


8 Comments โ†“


๐Ÿ™ norayr [OP] ยท Apr 30 at 22:39:

sorry for typos, those also tell us something. i am posting from lagrange on postmarketos. it is made for desktop. i was not able to convince the packager to make another version like lagrange mobile. and i guess i cannot select my text now on a touchscreen to copy it and paste in to the edit box agai, if i tap on edit.


๐Ÿ•น๏ธ skyjake [mod...] ยท May 01 at 05:09:

> it is made for desktop.

Well, generally speaking, if you're using software intended for the desktop (mouse and keyboard) on a mobile device, you'll be in for a bad time. The mobile variant of Lagrange has a wide array of adaptations intended to improve usability on mobile devices, including changing the default behavior of the Return/Enter key to insert a newline and not submit the query. Likewise, the mobile text selection method is not available in the desktop build, as it assumes you can use a pointer to mark a selection.


๐Ÿ drh3xx ยท May 01 at 06:35:

I use the following shell script to update lagrange on PMOS:


๐Ÿ drh3xx ยท May 01 at 06:35:

#! /bin/sh

cd ~/src/lagrange
git pull
cd build
cmake .. \
	-DCMAKE_BUILD_TYPE=Release \
	-DENABLE_IDLE_SLEEP=ON \
	-DENABLE_IPC=ON \
	-DENABLE_KERNING=ON \
	-DENABLE_MPG123=ON \
	-DENABLE_WEBP=ON \
	-DENABLE_MOBILE_PHONE=YES \
	-DENABLE_WINDOWPOS_FIX=YES
make -j 4
sudo cp lagrange /usr/bin/lagrange
sudo cp resources.lgr /usr/share/lagrange/resources.lgr
make clean

๐Ÿ™ norayr [OP] ยท May 01 at 15:51:

yes, indeed, with mobile mode it behaves differently.


but still, the first question was, can we have a larger input window, not one line?


don't you think one line is too narrow?


also regarding the second question, i believe when doing a long post (via spartan probably) the enter works right, changes the line, and the input window is also big and convenient.


๐Ÿ•น๏ธ skyjake [mod...] ยท May 01 at 16:44:

On desktop, the app's input field is designed to be expanding on purpose. This is because input queries in Gemini are first and foremost meant for small amounts of text, like search terms, or the entering a name for something. That is why the UI starts out small and expands as needed.


In recent versions of Lagrange, you can grab the left and right edge of the input popup to make it wider/narrower, and you can also change the font size. These changes make the UI more natural for entering longer pieces of text.


There is also a setting for the line break behavior, if you prefer the Enter key to just insert a newline.


๐Ÿ™ norayr [OP] ยท May 01 at 23:07:

oh, this is great to have the config option about the enter behavior. also, i understand why it starts like that now. thank you for the possibility to resize the input field.


๐Ÿ™ norayr [OP] ยท May 01 at 23:10:

drh3xx, any chance you remember which build dependencies you install before building lagrange?


if there was noone i would maybe become a maintainer and i would package lagrange and lagrange-mobile.


but the current maintainer is against it and i cannot go in to/have no skills to argue about it.


i already justified the need, and the maintainer already refused to do so.

-- Response ended

-- Page fetched on Sun May 19 15:07:11 2024