Bug 98485 - change the lable of a Button does not work
Summary: change the lable of a Button does not work
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.0.0.alpha1
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-07 08:09 UTC by Jun Ma
Modified: 2016-03-17 02:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Export dialog UI bug (113.95 KB, image/png)
2016-03-17 02:27 UTC, Jun Ma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Ma 2016-03-07 08:09:23 UTC
I try to change the label of a button on a dialog, for example, "open file" dialog, change its ok button's label text 'Open' to 'Export', it doesn't work.
Comment 1 Maxim Monastirsky 2016-03-07 08:17:15 UTC
Never confirmed by QA -> UNCONFIRMED. Please never set your own bugs as NEW.
Comment 2 Buovjaga 2016-03-13 20:16:02 UTC
Tools - Customize - Toolbars. Toolbar - Text only or Icons & text to see result.
Works for me.

Plz try with a newer version.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.2.0.0.alpha0+
Build ID: 235411c9d47ecba88e46d859ea93bcecefb0c46e
CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on March 11th 2016
Comment 3 Jun Ma 2016-03-14 02:49:10 UTC
Please try these steps:
1. Create a new odt document and input some text
2. Click "File"- "Export..."
3. The Export dialog - the label of PUSHBUTTON_OK button is "Save"

Expect results:
The label of PUSHBUTTON_OK button should be "Export"
Comment 4 Jun Ma 2016-03-14 03:02:06 UTC
The system and libreoffice versions i've tried on is below:

1.5 64bit GE-0200
Linux version 3.19.8 (nfs@build) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) )
Version: 5.2.0.0.alpha0+
Build ID: 775d93d0c0dc902dab6e3bdb978501b5d6295f8b
CPU Threads: 4; OS Version: Linux 3.19; UI Render: default; 
Locale: zh-CN (zh_CN.utf-8)
Comment 5 Buovjaga 2016-03-14 13:38:11 UTC
How did you try to change the label?
Comment 6 Jun Ma 2016-03-15 01:01:47 UTC
(In reply to Buovjaga from comment #5)
> How did you try to change the label?

First, i think the 'Export' Dialog should have the PUSHBUTTON_OK button labels 'Export' but not 'Save'. 

Second, i try to have a upload dialog and its PUSHBUTTON_OK button labels 'Upload'. So i called setLabel() for the PUSHBUTTON_OK button, but it doesn't work.
Comment 7 Buovjaga 2016-03-16 12:18:05 UTC
Please give exact steps for reproduction. From comment 6 I don't know, what I should do.
Comment 8 Michael Meeks 2016-03-16 13:30:34 UTC
This sounds like a programming question - bugzilla is not the right place for this; it is primarily for end-user bugs =)

Please ask your question in a well-formed way, ideally with a 'git diff' of what you're trying to achieve on the developer mailing list:

libreoffice@lists.freedesktop.org

Thanks !
Comment 9 Jun Ma 2016-03-17 02:27:47 UTC
Created attachment 123641 [details]
Export dialog UI bug
Comment 10 Jun Ma 2016-03-17 02:33:02 UTC
steps:
"File"- "Export..."

Please see the attached picure. The red circled button, its label should be 'Export'. Does it a UI bug?