Bug Hunting Session
Bug 90496 - UI: Hyperlink dialog should remember last used view
Summary: UI: Hyperlink dialog should remember last used view
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
: 125246 (view as bug list)
Depends on:
Blocks: Dialog-Remember-Settings Hyperlink-Dialog
  Show dependency treegraph
 
Reported: 2015-04-07 13:11 UTC by respirorosso
Modified: 2019-10-22 16:36 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description respirorosso 2015-04-07 13:11:19 UTC
After upgrading to 4.4.2.2 the behavior of Insert Hyperlink changed wrong. 


I select a text (i.e. a word) and I click Insert Hyperlink (Ctrl-K). A window appears. 

A) The window shows always "Internet" as default instead of "Document". 
"Document" had always showed as default (I always use it) until last 4.4.2.2 upgrade. 

B) the selected text (i.e. a word) is not copied in the form "Further Settings" "Text" when I change from "Internet" to "Document". 

to bypass A+B I need too much multiple clicks. 
could you please let me go back to the previous behavior? 


...
Then I also have a suggestion to make it even better: 

C) from the "Hyperlink" window under "Document" I add a "Target" to the form "Target in Document" by clicking on the bullseye. 
A window appears (always on the right, it was ok on the left) with all the objects (i use Bookmarks). **Here I suggest** to let a single click add the bookmark in the "Target in Document" form as "Target" (instead of double-clicking or clicking "Apply"), then clicking "OK" (instead of "Apply") closes the window; 
then, if we have solved A+B above, in the form "Further Settings" "Text" there already is the selected text (i.e. a word), so I only have to click "OK" to close the "Hyperlink" window with changes applied. 

very quick and neat. I recommend it.
Thank you very much.
Comment 1 Buovjaga 2015-04-15 18:22:17 UTC
Your B) is a duplicate of bug 86845.

I'm changing this to be about A) and propose that the dialog should remember the last used view.

Please create a separate enhancement request for C)

Tested on:

Win 7 Pro 64-bit, Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Locale: fi_FI

Version: 4.5.0.0.alpha0+
Build ID: afb82d3729bda2754d0add08cc6c4dce1dc76d59
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2015-04-14_00:05:04
Locale: en_US
Comment 2 Robinson Tryon (qubit) 2015-12-13 11:21:31 UTC Comment hidden (obsolete)
Comment 3 Adolfo Jayme 2016-06-23 23:27:12 UTC
*** Bug 100557 has been marked as a duplicate of this bug. ***
Comment 4 Dieter Praas 2019-05-13 13:50:28 UTC
*** Bug 125246 has been marked as a duplicate of this bug. ***
Comment 5 Heiko Tietze 2019-05-13 13:55:08 UTC
Question was raised again in bug 125246. If we store the last UI position it would also apply to other dialogs like paragraph style. Do we want to remember the last tab, and if so a) per document, b) session, c) workplace respectively user configuration.
Comment 6 Cor Nouws 2019-06-07 07:42:11 UTC
(In reply to Heiko Tietze from comment #5)
> Question was raised again in bug 125246. If we store the last UI position it
> would also apply to other dialogs like paragraph style. Do we want to
> remember the last tab, and if so a) per document, b) session, c) workplace
> respectively user configuration.
In some (many?) cases, the TAB of a dialog is remembered between use.
Comment 7 TorrAB 2019-06-08 16:07:36 UTC
	The default choice (at the beginning of a session) 'Internet' is arbitrary. After the user has chosen 'Document', it can be expected that he will choose it again during the session β€”in the same document, or across several of them; he can change his choice, anyway.
Comment 8 Thomas Lendo 2019-10-15 19:17:24 UTC
I prefer user configuration. What's the benefit of only session?
Comment 9 TorrAB 2019-10-15 22:20:35 UTC
(In reply to Thomas Lendo from comment #8)
> I prefer user configuration. What's the benefit of only session?

OK. How does the user specify his/her preference?
Comment 10 Heiko Tietze 2019-10-16 08:30:17 UTC
(In reply to TorrAB from comment #9)
> OK. How does the user specify his/her preference?

It would be stored silently in the registry and applied when ever you open the dialog again. Per session means the default tab is reset when you restart the application. And per document is self-explaining.
Comment 11 Heiko Tietze 2019-10-17 12:24:36 UTC
Benefit of the session only solution is that different scenarios require different workflows and therefore it makes sense to start with a default. But the general rule as requested in the meta bug 109265 makes also sense. So let's remember the last used tab position and restore it at the next session.