Re: AW: failing snapshot when system textsize > 100%
This seems like a bug (that a restart is required) and should probably be reported to the LiveCode Quality Center as a bug? On 1/31/2019 5:44 AM, Tiemo Hollmann TB via use-livecode wrote: Solved! When you change the system text size on windows, you have to restart the machine. Without restart the windows are already resized, but some programs like LC don't get the new system parameter to work with. E.g. the systemPixelScale only gets updated after a restart. After a restart the globalLoc() also gets the correct rect - good to know. Thanks for listening Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Donnerstag, 31. Januar 2019 11:14 An: LiveCode User Liste senden Cc: Tiemo Hollmann TB Betreff: failing snapshot when system textsize > 100% Hello, working with LC 9.0.2 on windows 10 I take snapshots of parts of my stack, which works fine as long as the system display setting is set to 100% text size. When you set the system text size to > 100% the export snapshot function grabs wrong rectangles (which are located topleft to the wanted rect). I tried to use globalLoc(), without success, it still grabs a wrong (but other as in case 1) rect topleft of the target rect. I tried to add the stack location coords to the target rect, but that's too much. I know there must be any parameter to get the system text scale, but I didn't found it yet (it's really hard, if you have no idea, how the property could be named). Perhaps I can scale my rect by this system text scale factor? Or does anybody knows any other property or function I could use to shift my export snapshot rect to the correct target? Thanks for any ideas Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
AW: failing snapshot when system textsize > 100%
Solved! When you change the system text size on windows, you have to restart the machine. Without restart the windows are already resized, but some programs like LC don't get the new system parameter to work with. E.g. the systemPixelScale only gets updated after a restart. After a restart the globalLoc() also gets the correct rect - good to know. Thanks for listening Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Donnerstag, 31. Januar 2019 11:14 An: LiveCode User Liste senden Cc: Tiemo Hollmann TB Betreff: failing snapshot when system textsize > 100% Hello, working with LC 9.0.2 on windows 10 I take snapshots of parts of my stack, which works fine as long as the system display setting is set to 100% text size. When you set the system text size to > 100% the export snapshot function grabs wrong rectangles (which are located topleft to the wanted rect). I tried to use globalLoc(), without success, it still grabs a wrong (but other as in case 1) rect topleft of the target rect. I tried to add the stack location coords to the target rect, but that's too much. I know there must be any parameter to get the system text scale, but I didn't found it yet (it's really hard, if you have no idea, how the property could be named). Perhaps I can scale my rect by this system text scale factor? Or does anybody knows any other property or function I could use to shift my export snapshot rect to the correct target? Thanks for any ideas Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
failing snapshot when system textsize > 100%
Hello, working with LC 9.0.2 on windows 10 I take snapshots of parts of my stack, which works fine as long as the system display setting is set to 100% text size. When you set the system text size to > 100% the export snapshot function grabs wrong rectangles (which are located topleft to the wanted rect). I tried to use globalLoc(), without success, it still grabs a wrong (but other as in case 1) rect topleft of the target rect. I tried to add the stack location coords to the target rect, but that's too much. I know there must be any parameter to get the system text scale, but I didn't found it yet (it's really hard, if you have no idea, how the property could be named). Perhaps I can scale my rect by this system text scale factor? Or does anybody knows any other property or function I could use to shift my export snapshot rect to the correct target? Thanks for any ideas Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode