Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » FileSel&FileList, Path » FileSelNative() writes to LOG
FileSelNative() writes to LOG [message #60205] Tue, 10 October 2023 12:28
pvictor is currently offline  pvictor
Messages: 67
Registered: December 2015
Member
Hi!

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN {
	while (1) {
		FileSelNative fs;
		if (fs.ExecuteOpen())	// writes to LOG
			PromptOK(~fs);
		else break;
	}
}

FileSelNative() on Linux writes to LOG each time when ExecuteOpen is called:
_g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for 'gsettings-backend'
gtk_file_chooser_widget_set_current_name: assertion 'priv->action == GTK_FILE_CHOOSER_ACTION_SAVE || priv->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed

Setting:
#define CATCH_ERRORS 0
in GtkApp.cpp eliminates this.

Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy

Best regards,
Victor
Previous Topic: FileSel::ExecuteSelectDir issue
Goto Forum:
  


Current Time: Mon Apr 29 03:34:01 CEST 2024

Total time taken to generate the page: 0.03112 seconds