From 849ec14f7a19d16a0ac274de0f6369d05b39c2b7 Mon Sep 17 00:00:00 2001 From: Ibrahim Hamadeh Date: Fri, 18 Sep 2026 15:29:04 +0300 Subject: [PATCH 1/6] Fix a bug, when trying to display clipboard textual content in browse mode and clipboard is empty. --- addon/globalPlugins/clipContentsDesigner/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/globalPlugins/clipContentsDesigner/__init__.py b/addon/globalPlugins/clipContentsDesigner/__init__.py index 6055c167..3c5028a7 100644 --- a/addon/globalPlugins/clipContentsDesigner/__init__.py +++ b/addon/globalPlugins/clipContentsDesigner/__init__.py @@ -15,6 +15,7 @@ import core import wx import gui +from ctypes import windll from gui import guiHelper from gui.settingsDialogs import SettingsPanel, NVDASettingsDialog from gui.message import MessageDialog, ReturnCode @@ -199,7 +200,7 @@ def getTextToAdd(self): def clipboardHasContent(self): with winUser.openClipboard(gui.mainFrame.Handle): - clipFormat = winUser.windll.user32.EnumClipboardFormats(0) + clipFormat = windll.user32.EnumClipboardFormats(0) if clipFormat: return True return False From 6883ca3e97ba7b6586966caad3abe75d3033ca94 Mon Sep 17 00:00:00 2001 From: Ibrahim Hamadeh Date: Fri, 18 Sep 2026 15:58:10 +0300 Subject: [PATCH 2/6] Update buildVars.py. --- buildVars.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildVars.py b/buildVars.py index 686a6e89..d09e3f06 100644 --- a/buildVars.py +++ b/buildVars.py @@ -22,10 +22,10 @@ # Translators: Long description to be shown for this add-on on add-on information from add-on store addon_description=_('Allows the joining of separate fragments of text on the clipboard and clearing of clipboard content. Current text on the clipboard can be presented in browse mode. Option to request confirmation before performing actions such as copy, cut, add text, or clearing the clipboard to avoid accidental changes.'), # version - addon_version="52.0.0", + addon_version="52.0.1", # Brief changelog for this version # Translators: what's new content for the add-on version to be shown in the add-on store - addon_changelog=_('* Updates to translations.'), + addon_changelog=_('* Fix a bug, happens when trying to display clipboard text in browseable message, and clipboard is empty or has no textual content.'), # Author(s) addon_author='Noelia , Abdel ', # URL for the add-on documentation support From c59248ae6187e6e7633c29dbdd85d9778f483dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 19 Sep 2026 13:27:18 +0200 Subject: [PATCH 3/6] Lint with prek --- addon/doc/da/readme.md | 1 - addon/doc/de/readme.md | 1 - addon/doc/es/readme.md | 1 - addon/doc/fi/readme.md | 1 - addon/doc/fr/readme.md | 1 - addon/doc/gl/readme.md | 1 - addon/doc/hr/readme.md | 1 - addon/doc/hu/readme.md | 1 - addon/doc/it/readme.md | 1 - addon/doc/ja/readme.md | 1 - addon/doc/pl/readme.md | 1 - addon/doc/pt_BR/readme.md | 1 - addon/doc/pt_PT/readme.md | 1 - addon/doc/ro/readme.md | 1 - addon/doc/sk/readme.md | 3 +-- addon/doc/uk/readme.md | 1 - addon/doc/vi/readme.md | 1 - 17 files changed, 1 insertion(+), 18 deletions(-) diff --git a/addon/doc/da/readme.md b/addon/doc/da/readme.md index 988619f9..1591df75 100644 --- a/addon/doc/da/readme.md +++ b/addon/doc/da/readme.md @@ -195,4 +195,3 @@ Bemærkninger: * Første version. [[!tag dev stable]] - diff --git a/addon/doc/de/readme.md b/addon/doc/de/readme.md index 4f7094d3..bcc4c75d 100644 --- a/addon/doc/de/readme.md +++ b/addon/doc/de/readme.md @@ -205,4 +205,3 @@ Anmerkungen: * Erstveröffentlichung. [[!tag dev stable]] - diff --git a/addon/doc/es/readme.md b/addon/doc/es/readme.md index 7a7a3609..c2c4c896 100644 --- a/addon/doc/es/readme.md +++ b/addon/doc/es/readme.md @@ -198,4 +198,3 @@ Notas: * Versión inicial. [[!tag dev stable]] - diff --git a/addon/doc/fi/readme.md b/addon/doc/fi/readme.md index 6102d448..c1b325df 100644 --- a/addon/doc/fi/readme.md +++ b/addon/doc/fi/readme.md @@ -191,4 +191,3 @@ Huomautuksia: * Ensimmäinen versio. [[!tag dev stable]] - diff --git a/addon/doc/fr/readme.md b/addon/doc/fr/readme.md index 283f602f..33da1926 100644 --- a/addon/doc/fr/readme.md +++ b/addon/doc/fr/readme.md @@ -206,4 +206,3 @@ Notes : * Première version. [[!tag dev stable]] - diff --git a/addon/doc/gl/readme.md b/addon/doc/gl/readme.md index 5303446d..44538c95 100644 --- a/addon/doc/gl/readme.md +++ b/addon/doc/gl/readme.md @@ -194,4 +194,3 @@ Notas: * Versión inicial. [[!tag dev stable]] - diff --git a/addon/doc/hr/readme.md b/addon/doc/hr/readme.md index 2ae97580..c2afdf94 100644 --- a/addon/doc/hr/readme.md +++ b/addon/doc/hr/readme.md @@ -193,4 +193,3 @@ Napomene: * Prva verzija. [[!tag dev stable]] - diff --git a/addon/doc/hu/readme.md b/addon/doc/hu/readme.md index 1c9e85b1..29b5025b 100644 --- a/addon/doc/hu/readme.md +++ b/addon/doc/hu/readme.md @@ -187,4 +187,3 @@ Megjegyzések: * - Első kiadás [[!tag dev stable]] - diff --git a/addon/doc/it/readme.md b/addon/doc/it/readme.md index 972a89be..1b8ce243 100644 --- a/addon/doc/it/readme.md +++ b/addon/doc/it/readme.md @@ -200,4 +200,3 @@ Note: * Versione iniziale. [[!tag dev stable]] - diff --git a/addon/doc/ja/readme.md b/addon/doc/ja/readme.md index 51747a03..81801375 100644 --- a/addon/doc/ja/readme.md +++ b/addon/doc/ja/readme.md @@ -141,4 +141,3 @@ * 最初のバージョン。 [[!tag dev stable]] - diff --git a/addon/doc/pl/readme.md b/addon/doc/pl/readme.md index 16dc7207..b5423b71 100644 --- a/addon/doc/pl/readme.md +++ b/addon/doc/pl/readme.md @@ -192,4 +192,3 @@ Uwagi: * Pierwsze wydanie. [[!tag dev stable]] - diff --git a/addon/doc/pt_BR/readme.md b/addon/doc/pt_BR/readme.md index 2bb79139..42930086 100644 --- a/addon/doc/pt_BR/readme.md +++ b/addon/doc/pt_BR/readme.md @@ -202,4 +202,3 @@ Notas: * Versão inicial. [[!tag dev stable]] - diff --git a/addon/doc/pt_PT/readme.md b/addon/doc/pt_PT/readme.md index f468f0c2..412d0671 100644 --- a/addon/doc/pt_PT/readme.md +++ b/addon/doc/pt_PT/readme.md @@ -200,4 +200,3 @@ Notas: * Versão inicial. [[!tag dev stable]] - diff --git a/addon/doc/ro/readme.md b/addon/doc/ro/readme.md index f6900c9e..2d737569 100644 --- a/addon/doc/ro/readme.md +++ b/addon/doc/ro/readme.md @@ -191,4 +191,3 @@ Note: * Versiunea inițială. [[!tag dev stable]] - diff --git a/addon/doc/sk/readme.md b/addon/doc/sk/readme.md index e3e6a9a8..f30a6ea2 100644 --- a/addon/doc/sk/readme.md +++ b/addon/doc/sk/readme.md @@ -161,7 +161,7 @@ Poznámky: konfiguračné profily NVDA a nie je potrebné po preinštalovaní doplnku nanovo importovať nastavenia. * Odteraz je možné v nastaveniach doplnku určiť, či sa bude text vkladať na - koniec alebo na začiatok obsahu schránky. + koniec alebo na začiatok obsahu schránky. ## Zmeny vo verzii 3.0 ## * Braillovské znaky pre matematické operátory je takisto možné vkladať do @@ -179,4 +179,3 @@ Poznámky: * prvé vydanie. [[!tag dev stable]] - diff --git a/addon/doc/uk/readme.md b/addon/doc/uk/readme.md index 9f5bcb1a..68ac7872 100644 --- a/addon/doc/uk/readme.md +++ b/addon/doc/uk/readme.md @@ -191,4 +191,3 @@ * Перша версія. [[!tag dev stable]] - diff --git a/addon/doc/vi/readme.md b/addon/doc/vi/readme.md index f8ca2953..eca531ed 100644 --- a/addon/doc/vi/readme.md +++ b/addon/doc/vi/readme.md @@ -187,4 +187,3 @@ Lưu ý: * Phiên bản đầu tiên [[!tag dev stable]] - From 74f11700c9af7e5e7ec892334e42b4bfae0f2a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 19 Sep 2026 13:31:48 +0200 Subject: [PATCH 4/6] Update changelog reflecting that the ability to check clip content has been restored, since this could produce bugs in different functionality, sach as requiring confirmation for actions --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index d09e3f06..af00ead0 100644 --- a/buildVars.py +++ b/buildVars.py @@ -25,7 +25,7 @@ addon_version="52.0.1", # Brief changelog for this version # Translators: what's new content for the add-on version to be shown in the add-on store - addon_changelog=_('* Fix a bug, happens when trying to display clipboard text in browseable message, and clipboard is empty or has no textual content.'), + addon_changelog=_('* Restored ability to check the clipboard content.'), # Author(s) addon_author='Noelia , Abdel ', # URL for the add-on documentation support From 694486b6d985c68de697a6da79c340185c411b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 19 Sep 2026 13:40:57 +0200 Subject: [PATCH 5/6] Change add-on version, to be updated when releasing a new version --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index af00ead0..2bae731a 100644 --- a/buildVars.py +++ b/buildVars.py @@ -22,7 +22,7 @@ # Translators: Long description to be shown for this add-on on add-on information from add-on store addon_description=_('Allows the joining of separate fragments of text on the clipboard and clearing of clipboard content. Current text on the clipboard can be presented in browse mode. Option to request confirmation before performing actions such as copy, cut, add text, or clearing the clipboard to avoid accidental changes.'), # version - addon_version="52.0.1", + addon_version="52.0.0", # Brief changelog for this version # Translators: what's new content for the add-on version to be shown in the add-on store addon_changelog=_('* Restored ability to check the clipboard content.'), From 090affbbaed2530597bfbee428c0591d1bea207a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 19 Sep 2026 13:47:40 +0200 Subject: [PATCH 6/6] Lint with prek --- addon/doc/bg/readme.md | 1 - addon/doc/ru/readme.md | 1 - addon/doc/tr/readme.md | 1 - addon/doc/zh_CN/readme.md | 1 - 4 files changed, 4 deletions(-) diff --git a/addon/doc/bg/readme.md b/addon/doc/bg/readme.md index ff7441b4..3236962d 100644 --- a/addon/doc/bg/readme.md +++ b/addon/doc/bg/readme.md @@ -201,4 +201,3 @@ * Първоначално издание. [[!tag dev stable]] - diff --git a/addon/doc/ru/readme.md b/addon/doc/ru/readme.md index 189d44c6..e4576a96 100644 --- a/addon/doc/ru/readme.md +++ b/addon/doc/ru/readme.md @@ -194,4 +194,3 @@ * Первоначальная версия. [[!tag dev stable]] - diff --git a/addon/doc/tr/readme.md b/addon/doc/tr/readme.md index 4109782c..d5d473cc 100644 --- a/addon/doc/tr/readme.md +++ b/addon/doc/tr/readme.md @@ -194,4 +194,3 @@ Notlar: * İlk versiyon. [[!tag dev kararlı]] - diff --git a/addon/doc/zh_CN/readme.md b/addon/doc/zh_CN/readme.md index 23d4a31f..22299674 100644 --- a/addon/doc/zh_CN/readme.md +++ b/addon/doc/zh_CN/readme.md @@ -163,4 +163,3 @@ It contains the following controls: * 发布初始版本。 [[!tag dev stable]] -