The forum keeps damaging my posts lazarus / 8-Other ---------------------------------------------------------------------- CM630 · 2025-01-31 07:27 The forum keeps damaging my posts for years and with different browsers. Usually, it changes the font size of (parts) of my posts to 1 pt (or less  ). Today I got “” displayed all over my post. Is it a personal attitude of the forum toward my person or is it a global issue? EDIT: Here is a very fresh example: https://forum.lazarus.freepascal.org/index.php/topic,69961.msg545481.h tml#msg545481 ---------------------------------------------------------------------- 440bx · 2025-01-31 08:19 Quote from: CM630 on January 31, 2025, 08:27:48 amThe forum keeps damaging my posts for years and with different browsers. Usually, it changes the font size of (parts) of my posts to 1 pt (or less  ). Today I got “” displayed all over my post. Is it a personal attitude of the forum toward my person or is it a global issue? I have never experienced anything remotely similar to what you describe. It sounds like this is specific to your PC or maybe (speculation) you've got some weird forum settings that's causing the problem, either way, it is still something that is specific to your environment. HTH. ---------------------------------------------------------------------- Joanna · 2025-01-31 08:30 CM630 What type of keyboard are you using? Maybe the forum software is confused by a non English keyboard? ---------------------------------------------------------------------- CM630 · 2025-01-31 08:46 Once I used Opera, I had the same issues. Now, logically, I switched to Vivaldi - I had the same troubles. Both browsers are Chromium based, once Opera had its own engine (abandoned 10 years ago), I do not remember if I had this issue then. It is experienced on different PCs with different Windowses (I am not sure if it happened with Linux). Lately, I use keyboard layouts edited with Microsoft Layout Creator 1.4, but before that, I used mainly layouts, which I have compiled by myself from source code. The language of the keyboard is set to US. So maybe it is some forum setting, then ---------------------------------------------------------------------- Joanna · 2025-01-31 08:55 I just noticed that you know more than one language I’m just guessing... I’m curious what the cause is. If you ever find out.. ---------------------------------------------------------------------- Martin_fr · 2025-01-31 09:13 I don't know the answer, but maybe try switching off WYSIWYG ? That is probably heavily JavaScript based (or whatever). And maybe it doesn't do well with your browser(s). Or it is buggy by itself, I have no idea how many people use it. Profile => Modify profile > Look and Layout > "Show WYSIWYG editor on post page by default." ---------------------------------------------------------------------- ccrause · 2025-01-31 14:52 Quote from: CM630 on January 31, 2025, 08:27:48 amEDIT: Here is a very fresh example: https://forum.lazarus.freepascal.org/index.php/topic,69961.msg545481.h tml#msg545481 When viewing the message linked to above, I see many [/size] text values. See also attached image of what I see on Google Chrome. Below the text content when quoting the message: Code: [Select][font=arial][size=2]I decided to change[/size][/font] [font=arial][size=small][i]function cbWinBufAlloc(NumPoints:Longint; aBitness: byte):Integer;[/i][/size][/font] [font=arial][/size][size=small]to[/size][/font] [font=arial][/size][size=2][i]function cbWinBufAlloc(NumPoints:Longint; Resolution: byte):Integer;[/i][/size][size=small][/font] [font=arial][/size][size=small]because the resolution is the parameter provided by the manufacturer, it might be anything up to xxx bit, currently maybe not more than 24. An I will switch internally.[/size][/font] [font=arial][/size][size=2]I do not understand what bothers you in the mentioned function.[/size][size=small][/font] [font=arial][/size][size=2]If [i]NumPoints = 100[/i], then [i]cbWinBufAlloc16[/i] will allocate 200 bytes (16 bits per point); [i]cbWinBufAlloc32[/i] will allocate 400 bytes.[/size][size=small][/font] [font=arial][/size][size=2]Deeming on your comment, I suppose that one can use [i]cbWinBufAlloc16(int(NumPoints*2));[/i] instead of [i]cbWinBufAlloc32;[/i][/size][size=small][/font] [font=arial][/size][size=2]In fact this is what happens - if I use [i]cbWinBufAlloc32[/i] for a ≤16 bit device - in the array that I get from the DLL the first half contains all the data, the second half contains nothing.[/size][size=small][/font] So there is a mix of size=2 and size=small formatting options and at some point [size=...] and [/size] pairs became unbalanced. No idea why though. In my edit window I only see font size options from 8 to 36. ---------------------------------------------------------------------- alpine · 2025-01-31 15:29 Martin_fr is right - you're pasting formatted text from some other application (not typing directly) and the WYSIWYG editor is trying to cope with the formatting. Switch off the "Show WYSIWYG editor on post page by default." or click on the "Toggle View" button (with arrow and red sq.brackets) to prevent the behavior. ---------------------------------------------------------------------- MarkMLl · 2025-01-31 15:41 Quote from: alpine on January 31, 2025, 04:29:45 pmMartin_fr is right - you're pasting formatted text from some other application (not typing directly) and the WYSIWYG editor is trying to cope with the formatting. Switch off the "Show WYSIWYG editor on post page by default." or click on the "Toggle View" button (with arrow and red sq.brackets) to prevent the behavior. Something trying to preserve syntax highlighting etc.? MarkMLl ---------------------------------------------------------------------- alpine · 2025-01-31 15:55 Quote from: MarkMLl on January 31, 2025, 04:41:44 pmQuote from: alpine on January 31, 2025, 04:29:45 pmMartin_fr is right - you're pasting formatted text from some other application (not typing directly) and the WYSIWYG editor is trying to cope with the formatting. Switch off the "Show WYSIWYG editor on post page by default." or click on the "Toggle View" button (with arrow and red sq.brackets) to prevent the behavior. Something trying to preserve syntax highlighting etc.? MarkMLl Yes, I've tried it by pasting text from LibreWriter, and to my surprise it really tries to preserve the formatting. Maybe it doesn't do it very well. Or the mess is created later by trying to rearrange the text into the WYSIWYG view. ---------------------------------------------------------------------- Tony Stone · 2025-01-31 23:59 Quote from: CM630 on January 31, 2025, 08:27:48 amThe forum keeps damaging my posts for years and with different browsers. Usually, it changes the font size of (parts) of my posts to 1 pt (or less  ). Today I got “” displayed all over my post. Is it a personal attitude of the forum toward my person or is it a global issue? Holy crap I have been wanting to bring this up for years!  You are NOT the only one.  I use Brave Browser.  Drives me nuts.  Specially anytime you paste things into the editor. It is not only when pasting formatted text because it happens to me every time I paste a URL as well.  It is something to do with trying to auto format pasted text even when you paste plain text the issue arises.  This should probably be brought up with SMF. ---------------------------------------------------------------------- MarkMLl · 2025-02-03 14:15 Quote from: Tony Stone on February 01, 2025, 12:59:20 amThis should probably be brought up with SMF. That depends on whether the decision to try to process markup (syntax highlighting etc.) is inherent to the browser, or if it depends on Javascript presented to the browser by the server (i.e. SMF in the current case). Application of Occam's Razor would suggest that since it affects relatively few of us it's probably associated with minority browsers. Inspecting the page in which I am editing this shows that I am typing into a browser-managed