[Libreoffice-bugs] [Bug 145169] Remote Save: uses "seen in directory" filename instead of existing filename

2021-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145169

Caolán McNamara  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED
   Assignee|libreoffice-b...@lists.free |caol...@redhat.com
   |desktop.org |

--- Comment #2 from Caolán McNamara  ---
the "non-remote" built-in libreoffice file dialog. (tools, options, general,
use LibreOffice dialog) is a similar creation, but without the initially
described problem, there the difference is the focus is given to the edit box
by default, which unselects the entry in the treeview. So currently its acting
a little as if the user had explicitly clicked the first entry in the treeview.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145169] Remote Save: uses "seen in directory" filename instead of existing filename

2021-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145169

--- Comment #1 from Justin L  ---
IMPL_LINK_NOARG ( RemoteFilesDialog, OkHdl, weld::Button&, void )
bSelected is pretty much always true. But it should be irrelevant, because the
filename box is tied to it if a real file is selected. (For example, just
browsing through the folders also ends up with strange results when a folder is
automatically "selected".)

It looks like this dialog is used for other things? Opening for one, and
PATH-ONLY dialog somehow?
Perhaps it needs to be:
if( !bSelected || (m_eMode == REMOTEDLG_MODE_SAVE && m_eType ==
REMOTEDLG_TYPE_FILEDLG) )

-- 
You are receiving this mail because:
You are the assignee for the bug.