[Libreoffice-bugs] [Bug 132667] New: Adding new custom property doesn't focus Name field anymore

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 4 02:09:23 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132667

            Bug ID: 132667
           Summary: Adding new custom property doesn't focus Name field
                    anymore
           Product: LibreOffice
           Version: 6.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: minor
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
            Blocks: 108747

In a Writer document, open File -> Properties, thene switch to Custom
Properties tab. Press Add Property, which adds a new entry.

The focus should move to the Name field of the fresh entry, but it doesn't.

Observed using LO 7.0.0.0.alpha0+ (4ba1909f12b49f020195b5e767045340717ce6df),
6.0.0.3 / Ubuntu.
It works fine in 5.4.0.3.
=> regression

This started from the following commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=272a96da03522a82db4185e7858d05375f3ea95e
author          Szymon Kłos <szymon.klos at collabora.com> 2017-11-07 20:39:06
+0100
committer       Szymon Kłos <szymon.klos at collabora.com> 2017-11-08 09:50:14
+0100

"tdf#100922 Refactor Custom Properties page"

The code change should probably make the last visible entry get focused after
this line:
https://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/dinfdlg.cxx?r=bedba76a#1459
The CreateNewLine() function focuses the newly created entry, but that isn't
much relevant after the performance fix.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108747
[Bug 108747] [META] File properties/settings (meta data) bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200504/678f74dd/attachment.htm>


More information about the Libreoffice-bugs mailing list