Description: Gallery drop-down list in Impress B&N dialog shows only start of full path instead item name After fix of bug 126511 that list should show only item name and for Linux build it's so. But in windows build I see strange. See https://bugs.documentfoundation.org/attachment.cgi?id=157371 Steps to Reproduce: 1. Open Impress 2. Open Format->Bullets & Numbering 3. Select Graphics 4. Press Select Image -> Gallery 5. Look at item names (see screenshot by link above) Actual Results: Gallery drop-down list in Impress B&N dialog shows only start of full path instead item name Expected Results: Gallery drop-down list in Impress B&N dialog shows only item names Reproducible: Always User Profile Reset: No Additional Info: Версия: 6.5.0.0.alpha0+ (x64) ID сборки: 08a0ede627fbf9bea42165c3de63812e469306b4 Потоков ЦП: 4; ОС:Windows 10.0 Build 17763; Отрисовка ИП: GL; VCL: win; Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU Calc: threaded
Not reproduced it in Version: 7.0.0.0.alpha0+ Build ID: 5fd05b2d4a61af0e72cf75f465c4f6ad7b2f4cc9 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: x11; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded
Repro with Version: 7.0.0.0.alpha0+ (x64) Build ID: 1940d99ab67db88d458fdcabb8fa0eaf12f1d49b CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; Locale: ru-RU (ru_RU); UI-Language: en-US Calc: CL
so this is a WIN only issue, and I can reproduce it in Versión: 6.4.0.2 (x86) Id. de compilación: 08d19fecdc7a2298d051e19cfdb7c35544855fc3 Subprocs. CPU: 2; SO: Windows 6.1 Service Pack 1 Build 7601; Repres. IU: predet.; VCL: win; Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: threaded and Versión: 6.3.4.2 (x86) Id. de compilación: 60da17e045e08f1793c57c00ba83cdfce946d0aa Subprocs. CPU: 2; SO: Windows 6.1; Repres. IU: predet.; VCL: win; Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: threaded wondering if bug 126511 was ever fixed on windows. Checking...
so bug 126511 got fixed in https://git.libreoffice.org/core/+/7c973ea77438273deda909ce0563d8c5c37dad00%5E%21 but apparently only for Linux, I can reproduce the issue with the same commit Versión: 6.4.0.2 (x86) Id. de compilación: 08d19fecdc7a2298d051e19cfdb7c35544855fc3 Subprocs. CPU: 2; SO: Windows 6.1 Service Pack 1 Build 7601; Repres. IU: predet.; VCL: win; Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: threaded
lastIndexOf("/"); and getToken(0, '.', last); needs to get adjusted for Windows style path with an ifdef compiler statement. Should be easyhackable.
Onur Yilmaz committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5088e6d34b0ffba423f8633ee83673a9c1d40036 tdf#130148 Gallery drop-down list in Impress B&N dialog shows only start... It will be available in 7.0.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 7.0.0.0.alpha0+ (x64) Build ID: 121fb94b7857c8bcba27c9715374328e965bece2 CPU threads: 16; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; Locale: en-GB (en_GB); UI-Language: en-US Calc: threaded @Onur, thanks for fixing this issue!!
Onur Yilmaz committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/153dafe1147bc29fc0e656d0cb8994112ecea1a0 tdf#130148 Gallery drop-down list in Impress B&N dialog shows only start... It will be available in 6.4.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Onur Yilmaz committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/commit/4328e3a449d11f1ebcaa91d7852ffdb984e01266 tdf#130148 Gallery drop-down list in Impress B&N dialog shows only start... It will be available in 6.3.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Same problem still exists in Writer, see bug 141334