All,
Attachment 1958 is the completed source code that contains both patches
supplied by Francios (attachment 1944 & 1945) applied. This code is ready to be
added to the git tree under tde/main/applications. Once there, we will submit by
patch a commit to change the menu location. Who will be the one that will push
this over?
Likewise, the code for the katesort-plugin (attachment 1956) is ready to be
added to the git tree as well. This as well go to tde/main/applications.
Who will be the one that can add the sources to the tree? Let's get this done
before the 2/28 target date for R14 freeze.
--
David C. Rankin, J.D.,P.E.
Darrell, All
I've searched the code in attempt to find out where the titlebar information
is created so it can be turned off to get clean screenshots. It is almost
impossible. The titlebar information is set in tdebase/twin/client.cpp at line
2261. It is a minefield of what you may get for each window. It can be forced on
a per-window basis in special window settings, but other than doing that
manually for each screenshot, there are few options. It would be nice if there
was a setting in Window Decorations that would allow this to be overridden, but
I cannot find any such setting. If anybody know where a configuration option is
hidden that will override setCaption, please let me know. This is what happens
to set the window caption (note all the helpful comments in the code):
void Client::setCaption( const TQString& s, bool force )
{
if ( s != cap_normal || force )
{
bool reset_name = force;
for( unsigned int i = 0;
i < s.length();
++i )
if( !s[ i ].isPrint())
s[ i ] = ' ';
cap_normal = s;
bool was_suffix = ( !cap_suffix.isEmpty());
TQString machine_suffix;
if( wmClientMachine( false ) != "localhost" && !isLocalMachine(
wmClientMachine( false )))
machine_suffix = " <@" + wmClientMachine( true ) + ">";
TQString shortcut_suffix = !shortcut().isNull() ? ( " {" +
shortcut().toString() + "}" ) : "";
cap_suffix = machine_suffix + shortcut_suffix;
if ( ( !isSpecialWindow() || isToolbar()) && workspace()->findClient(
FetchNameInternalPredicate( this )))
{
int i = 2;
do
{
cap_suffix = machine_suffix + " <" + TQString::number(i) + ">" +
shortcut_suffix;
i++;
} while ( workspace()->findClient( FetchNameInternalPredicate(
this )));
info->setVisibleName( caption().utf8() );
reset_name = false;
}
if(( (was_suffix && cap_suffix.isEmpty())
|| reset_name )) // if it was new window, it may have old value
still set, if the window is reused
{
info->setVisibleName( "" ); // remove
info->setVisibleIconName( "" ); // remove
}
else if( !cap_suffix.isEmpty() && !cap_iconic.isEmpty()) // keep the
same suffix in iconic name if it's set
info->setVisibleIconName( ( cap_iconic + cap_suffix ).utf8() );
if( isManaged() && decoration != NULL )
decoration->captionChange();
}
}
--
David C. Rankin, J.D.,P.E.
All,
I want to take up the issue of text missing in initial display of menus and
dialogs again and see if there isn't an easy solution that can be found for R14.
The initial description is detailed here:
http://trinity-devel.pearsoncomputing.net/?0::12245
Basically the first time a menu or dialog is displayed, there will either be
text missing or the dialog group labels are cropped/clipped in half until focus
is removed from the window and then restored. The most prevalent problems are
seen with the 'GroupBox' container label which are almost always initially
displayed 1/2 missing. (I believe GroupBox label is the technical term)
An example of the text chopped in half is shown in this screenshot:
http://www.3111skyline.com/dl/dt/trinity/ss/kmail-config-clipped.jpg
The screenshot shows an actual option chopped in 1/2 but that is the way most
of the GroupBox labels first appear (it is just really difficult to get a
screenshot because when focus changes to ksnapshot, the window is refreshed and
the text redraws in full)
I don't know what part of TDE is responsible for drawing or painting the .ui
dialogs, but that seems like a good place to start. Has anyone done any research
on this or know what part of TDE to start looking at? I presume this basic
function must be a tdelibs function. I've opened 1983 to track this issue:
http://bugs.pearsoncomputing.net/show_bug.cgi?id=1983
If you find relevant information, please add it there. Thanks.
--
David C. Rankin, J.D.,P.E.
All,
Given the minimization of applications in kmenu, what is the proper way to
patch kmenu during packaging to move/add certain applications back to the menu?
Currently there is no konqueror-filemanager in the menu except for the
super-user apps and I will need to add that and a few others back to the menu in
some manner. The Arch crowd is no mom & pop group and I can hear the howls:
"Where is the file manager in the menu?"
I think we should come up with some common approach for TDE that allows
packagers to easily add/move apps around in the menu at package time. This would
allow packagers to meet the needs of the users that TDE is being packaged for.
If for mom & pop, package the basic menu, if for advanced users give them a
full-featured menu. I do not want to give Arch the impression that TDE is a
stripped-down version of kde.
How best to do it? Is it best to do it at the XDG level supplying a short menu
for merging, or is it better to just copy the .desktop files out of
/opt/trinity/share/applnk/.hidden to /opt/trinity/share/applications/tde? That
could be done with a few simple lines in a build script and sed can easily alter
the categories of others.
Developing a consistent way to easily customize the menu at packaging time
seems like a simple way for packagers to better tailor TDE to their target users
while providing a standard way to do it in TDE.
I welcome your thoughts on that.
--
David C. Rankin, J.D.,P.E.
All,
Looking at .xsession_errors knemo no longer launches leaving the following error:
kded: WARNING: [KDEDModule* Kded::loadModule(const KService*, bool)] Could not
load library. [ can't open the module ]
kded: WARNING: [KDEDModule* Kded::loadModule(const KService*, bool)] Could not
load library. [ Library files for "libkded_knemod.la" not found in paths. ]
I don't know what happened, but kded is now looking for "libkded_knemod.la".
That is wrong. The library is "kded_knemod.la" in /opt/trinity/lib/trinity:
01:47 valhalla:~> l1 /opt/trinity/lib/trinity/ | grep knemo
kcm_knemo.la
kcm_knemo.so
kded_knemod.la
kded_knemod.so
I know knemo was working within the last few weeks, I used it. I don't know
when it quit exactly, but something changed. Any ideas?
--
David C. Rankin, J.D.,P.E.
All,
Looking at tdeio, I selected everything in tdedebugdialog and got the wanted
reams of output in .xsession-errors. Is there a way in ServiceManager, or
otherwise, to simply turn tdedebugdialog output ON or OFF without having to
select-all/deselect-all and then apply?
--
David C. Rankin, J.D.,P.E.
While I appreciate enthusiasm to add new apps to the repository, we should convert all new apps to cmake right away. Otherwise we just keep digging ourselves a deeper hole with cmake conversions.
Thoughts?
Darrell
The previous bugzilla version displayed a total count of a search query in the upper left corner of the page. That count total no longer appears with the new version. Can we get feature working again?
Darrell