pubpub-zz / ppInk

Fork from Gink
MIT License
858 stars 76 forks source link

can not set default text background and frame #317

Open pubpub-zz opened 2 months ago

pubpub-zz commented 2 months ago

Hello again, Project 'starred'! I've tested the version you sent above and thank you for it! For some reason I don't understand, the text feature always offers me the second option, when it comes to writing on the screen : by default the version you sent me is set to 'frame + transparent background', the second option. Could I ask you to activate the 'transparent background' feature by default? For me, it's quite a handicap to have to disable the frame by switching to option 1 (only transparent background) that you suggest, every time I write with the text tool. Thanks for your wonderfull app and thank you for your understanding.

All the best, Ventilo

ps: since i understand you are living in france, i assume you speak french. So let me try a translation. If i'm wrong then do not bother with this!

ReBonjour à toi, j'ai testé la version que tu as envoyé plus haut et t'en remercie sincèrement! Pour une raison que je ne comprends pas, avec cette version, la fonctionnalité text (T) me propose toujours la seconde option, quand il s'agit d'écrire sur l'écran (par défaut la version que tu m'a envoyés est mise sur 'un cadre + un background transparent'). Pourrai-je te demander que la fonctionnalité 'transparent background' soit activé par défaut, comme cela semble être le cas sur la version que tu avais proposée dans un thread antérieur, version qui était nommée 'ppink_shift_control_hand'. Avoir à désactiver le cadre en passant a l'option 1 que tu proposes à chaque fois qu'on écrit avec l'outil texte est assez contraignant.

Un grand merci pour ton travail pour cette magnifique app.

et Merci d'avance de ta compréhension, Très bonne journée, Ventilo

Originally posted by @Ventilo23 in https://github.com/pubpub-zz/ppInk/discussions/315#discussioncomment-10598654

pubpub-zz commented 2 months ago

@Ventilo23 Bonsoir,

Here is a very first beta :

ppInk Text BackGround.zip

pubpub-zz commented 2 months ago

here is the full version allowing changing the value in the options and with the parameters in REST API. I've also added SetTagNumber to complete #315 ppInk Text BackGround 2.zip

note. #308 fix was already embedded

pubpub-zz commented 2 months ago

@Ventilo23 Have you been able to test the beta version?

pubpub-zz commented 2 months ago

" allowing changing the value in the options and with the parameters in REST API" What do you mean by REST API? Do you mean, the option are now accessible from the option dialog?

Thanks in advance,

REST API allow you to send commands to ppink to 'remotely' control it, for example you can control ppink from a streamdesk device (cf https://github.com/pubpub-zz/ppInk#rest-api)

else, yes you can modify the "default" text background/frame.

pubpub-zz commented 2 months ago

So, just to keep you up to date, I haven't beta tested yet. I'm running out of precious time to do so, but I'll try tomorrow, count me in.

thx. It just to have a second way of doing thing.

I have a secondary question, Would it be possible to constrain the creation of lines (line tool) to a 90° angle,

ppInk has lots and lots of features including this one : You should have a look at the help on ppInk page (https://github.com/pubpub-zz/ppInk) and look at the magnetic effect

using one of these commands: shift ,Alt or Ctl? (imho, ctl+linetool= 90° straight lines would be the most appropriate.) And hence, this would be very useful for tracing lines on a diagram or chart and made those line, 100% straight. It's just a question of comfort.

Remember that the default value for the magnetic effect in "angle" is 15°

I experienced sometimes when i want to redraw a line which is 90°, I lack the possibility to match those 90°. I hope I am clear.. ..But it would be very useful. Ideally, Also, to be able to configure this angle in the options, would be great! I understand, i made a lots of ask, so feel free to consider this one or not. Thanks again for all your hard work, it's great! Best regards, Ventilo

RTFM! 😳😜😀

pubpub-zz commented 2 months ago

if you press Shift will will only use the "angle" magnetic effect that will allow you to draw lines aligned on 15° (default value adjustable in the options). it will be then be very easy to get on 0°/90°/180°/270° (you will just get intermediate values which should not be an issue)

Ctrl is to ignore the angle alignement but catch points

pubpub-zz commented 2 months ago

this is an example of jumps to align on angles: 2024-09-22 09-36-02.zip

if you have different result show me

pubpub-zz commented 2 months ago

I think I've got the trick! The issue is coming from the fact that you are using the "standard" french regional setup (using the comma as decimal separator) This version should fix this: ppInk French magnetic.zip

PS: you should not need to activate the magnet to use the shift to stick to directions PPS : I came to this conclusion only because of the french message you wrote:😜

pubpub-zz commented 2 months ago

In french s'il vous plait... 😄😄😄😄

pubpub-zz commented 2 months ago

these are related. Can you tell me the path where you are using ppInk?

pubpub-zz commented 2 months ago

For me the issue is coming from the fact that the program did not found the language files. Find attached a new version. I've added some debug traces ppInk anapb1.zip

To get the traces, goto the options, and click on top right button "Debug Window"

Can you retry what you have done and look for "loading ..." in the debug window in this case

Thanks I've refreshed the file to be sure to have lastest compiled version

pubpub-zz commented 2 months ago

any update?

pubpub-zz commented 1 month ago

@Ventilo23. Any update ?

ventilo commented 1 month ago

hey pubpub, Sorry for the late reply! I was very very busy.. Working perfectly! Thanks a lot.