<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Dialog_Manager</id>
	<title>Dialog Manager - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Dialog_Manager"/>
	<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Dialog_Manager&amp;action=history"/>
	<updated>2026-04-09T18:29:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=Dialog_Manager&amp;diff=118562&amp;oldid=prev</id>
		<title>Speleo3: comments</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Dialog_Manager&amp;diff=118562&amp;oldid=prev"/>
		<updated>2020-06-30T18:20:46Z</updated>

		<summary type="html">&lt;p&gt;comments&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:20, 30 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The main code is in &amp;quot;ui/dialog/dialog-manager.h&amp;quot; and ...cpp.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The main code is in &amp;quot;ui/dialog/dialog-manager.h&amp;quot; and ...cpp.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Dialogs, once created are not deleted (just hidden). (Verify)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Dialogs, once created are not deleted (just hidden). (Verify)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:: ''They are deleted when the window closes (since [https://gitlab.com/inkscape/inkscape/-/merge_requests/1325 !1325]) --[[User:Speleo3|Speleo3]] ([[User talk:Speleo3|talk]])''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;quot;Behavior&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;quot;Behavior&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Floating dialogs are those that cannot be docked. The Preference dialog is currently always floating.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Floating dialogs are those that cannot be docked. The Preference dialog is currently always floating.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The use of GQuark identify dialogs should be unnecessary. Use a std::map&amp;lt;std::string&amp;gt; where the string is the dialog name. (GQuark can be used for efficient look-ups but thats not needed for dialogs.)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The use of GQuark identify dialogs should be unnecessary. Use a std::map&amp;lt;std::string&amp;gt; where the string is the dialog name. (GQuark can be used for efficient look-ups but thats not needed for dialogs.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In desktop.cpp there are two variables &amp;quot;_dlg_mgr&amp;quot; and &amp;quot;_dlg_mgr_owned&amp;quot;. It's not clear why. I could not get &amp;quot;Inkscape::UI::Dialog::DialogManager::getInstance() to return an instance.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In desktop.cpp there are two variables &amp;quot;_dlg_mgr&amp;quot; and &amp;quot;_dlg_mgr_owned&amp;quot;. It's not clear why. I could not get &amp;quot;Inkscape::UI::Dialog::DialogManager::getInstance() to return an instance.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:: ''I introduced &amp;lt;code&gt;_dlg_mgr_owned&amp;lt;/code&gt; to distinguish between floating dialogs which are shared between multiple windows (like the Preferences Dialog) and those which are owned by a main window and should be destroyed along with it. --[[User:Speleo3|Speleo3]] ([[User talk:Speleo3|talk]])''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The &amp;quot;PanelDialog&amp;quot; class handles linking dialogs to documents. It shouldn't be necessary, as we have a new (simpler) method of doing that.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The &amp;quot;PanelDialog&amp;quot; class handles linking dialogs to documents. It shouldn't be necessary, as we have a new (simpler) method of doing that.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Speleo3</name></author>
	</entry>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=Dialog_Manager&amp;diff=118561&amp;oldid=prev</id>
		<title>Tavmjong: Created page with &quot; A page to discuss what a dialog manager should do (motivated by 2020 GSoC dialog work).  = Functions of Dialog Manager (or equivalent) =  # Keep a list of open dialogs (those...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Dialog_Manager&amp;diff=118561&amp;oldid=prev"/>
		<updated>2020-06-30T14:14:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; A page to discuss what a dialog manager should do (motivated by 2020 GSoC dialog work).  = Functions of Dialog Manager (or equivalent) =  # Keep a list of open dialogs (those...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
A page to discuss what a dialog manager should do (motivated by 2020 GSoC dialog work).&lt;br /&gt;
&lt;br /&gt;
= Functions of Dialog Manager (or equivalent) =&lt;br /&gt;
&lt;br /&gt;
# Keep a list of open dialogs (those attached to a notebook).&lt;br /&gt;
# Hide/show dialogs (notebooks).&lt;br /&gt;
# Update&lt;br /&gt;
## Floating dialogs when active window changes.&lt;br /&gt;
## Dialogs when document swapped.&lt;br /&gt;
## Dialogs when document changes(?).&lt;br /&gt;
# Delete (or hide) dialogs&lt;br /&gt;
## When closed directly.&lt;br /&gt;
## When notebook removed.&lt;br /&gt;
## When window is closed.&lt;br /&gt;
## When Inkscape closes (also save configuration).&lt;br /&gt;
# Track dialog meta-preferences. (Are there any?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Observations/Questions =&lt;br /&gt;
&lt;br /&gt;
# The main code is in &amp;quot;ui/dialog/dialog-manager.h&amp;quot; and ...cpp.&lt;br /&gt;
# Dialogs, once created are not deleted (just hidden). (Verify)&lt;br /&gt;
# &amp;quot;Behavior&amp;quot;&lt;br /&gt;
## Floating dialogs are those that cannot be docked. The Preference dialog is currently always floating.&lt;br /&gt;
## Docking dialogs are those that can be docked, either in an Inkscape Window or in a floating Dialog Window.&lt;br /&gt;
## There is a preference to set which to use.&lt;br /&gt;
## Using Gtk::Notebooks, we should support only &amp;quot;dock&amp;quot; dialogs. (And remove an unnecessary layer of abstraction.)&lt;br /&gt;
# The use of GQuark identify dialogs should be unnecessary. Use a std::map&amp;lt;std::string&amp;gt; where the string is the dialog name. (GQuark can be used for efficient look-ups but thats not needed for dialogs.)&lt;br /&gt;
# In desktop.cpp there are two variables &amp;quot;_dlg_mgr&amp;quot; and &amp;quot;_dlg_mgr_owned&amp;quot;. It's not clear why. I could not get &amp;quot;Inkscape::UI::Dialog::DialogManager::getInstance() to return an instance.&lt;br /&gt;
# The &amp;quot;PanelDialog&amp;quot; class handles linking dialogs to documents. It shouldn't be necessary, as we have a new (simpler) method of doing that.&lt;/div&gt;</summary>
		<author><name>Tavmjong</name></author>
	</entry>
</feed>