------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From gerhard kulzer net 2006-12-20 17:54 ------- Am Mittwoch, 20. Dezember 2006 17:32 schrieb Mikolaj Machowski: [bugs.kde.org quoted mail] I agree, every time somebody sees this feature on my machine, they're impressed. > _______________________________________________ > Digikam-devel mailing list > Digikam-devel kde org > https://mail.kde.org/mailman/listinfo/digikam-devel _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From mikmach wp pl 2006-12-20 18:32 ------- > Let's me hear your viewpoints... I think you hit the best solution :) Dragging of border would be an icing on cake but it there is KDElibs bug, pity - but, please don't remove spellchecking. Two bugs with filtering of tags view: - when switching between photos initial selection of tags isn't changed, boxes are unchecked and checked but only in limits of selection for first photo; for example if I have two photos: 1.jpg with tags - a,b,c 2.jpg with tags - a,c,d select 1.jpg I have all tags limited to a,b,c, OK. Switch to 2.jpg I still see 3 boxes: a,b,c. b is unchecked but I don't see d anywhere. To update view I have click 'already assigned tags' button twice. - when I have long list of tags on some branch of tags tree after filtering I see all boxes *before* assigned tag. Attached image illustrates both those bugs. First image (not shown on this screenshot) has tags (Witkacy,1911), second (visible) has tags (Witkacy, 1906). m. Created an attachment (id=18990) --> (http://bugs.kde.org/attachment.cgi?id=18990&action=view) digi1.png _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2006-12-20 20:25 ------- Mik, I understand the problem. I will fix it tomorrow... Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2006-12-20 20:30 ------- SVN commit 615238 by cgilles: digikam from trunk : second stage to optimize layout of Comments & Tags sidebar. Free space optimization, removing Tabs, and add "Apply" button. CCBUGS: 115157 M +45 -62 imagedescedittab.cpp M +1 -1 imagedescedittab.h --- trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp #615237:615238 @ -24,10 +24,9 @ // Qt includes. #include <qhbox.h> +#include <qvbox.h> #include <qlabel.h> #include <qlayout.h> -#include <qhgroupbox.h> -#include <qvgroupbox.h> #include <qheader.h> #include <qtoolbutton.h> #include <qpushbutton.h> @ -49,7 +48,6 @ #include <kconfig.h> #include <klineedit.h> #include <kdialogbase.h> -#include <ktabwidget.h> // Local includes. @ -78,12 +76,6 @ { public: - enum SettingsTab - { - DESCRIPTIONPAGE=0, - TAGSPAGE - }; - ImageDescEditTabPriv() { modified = false; @ -98,8 +90,8 @ ratingWidget = 0; navigateBar = 0; ABCMenu = 0; - tab = 0; assignedTagsBtn = 0; + applyBtn = 0; } bool modified; @ -107,17 +99,16 @ QToolButton *recentTagsBtn; QToolButton *tagsSearchClearBtn; + QToolButton *assignedTagsBtn; QPopupMenu *ABCMenu; - QPushButton *assignedTagsBtn; + QPushButton *applyBtn; KTextEdit *commentsEdit; KLineEdit *tagsSearchEdit; - KTabWidget *tab; - KDateTimeEdit *dateTimeEdit; ImageInfo *currInfo; @ -134,44 +125,35 @ { d = new ImageDescEditTabPriv; - QVBoxLayout *vLayout = new QVBoxLayout(this); - d->navigateBar = new NavigateBarWidget(this, navBar); - d->tab = new KTabWidget(this); + QVBoxLayout *vLayout = new QVBoxLayout(this); + d->navigateBar = new NavigateBarWidget(this, navBar); + QWidget *settingsArea = new QWidget(this); vLayout->addWidget(d->navigateBar); - vLayout->addSpacing(KDialog::spacingHint()); - vLayout->addWidget(d->tab); + vLayout->addWidget(settingsArea); - // Comments/Date/Rating view ----------------------------------- - - QWidget *descriptionPage = new QWidget(d->tab); - QGridLayout *settingsLayout = new QGridLayout(descriptionPage, 2, 1, + QGridLayout *settingsLayout = new QGridLayout(settingsArea, 5, 1, KDialog::marginHint(), KDialog::spacingHint()); + + // Comments/Date/Rating view ----------------------------------- - QVGroupBox* commentsBox = new QVGroupBox(i18n("&Comments"), descriptionPage); - d->commentsEdit = new KTextEdit(commentsBox); + QVBox *commentsBox = new QVBox(settingsArea); + new QLabel(i18n("Comments:"), commentsBox); + d->commentsEdit = new KTextEdit(commentsBox); d->commentsEdit->setTextFormat(QTextEdit::PlainText); d->commentsEdit->setCheckSpellingEnabled(true); - QHGroupBox* dateTimeBox = new QHGroupBox(i18n("&Date && Time"), descriptionPage); - d->dateTimeEdit = new KDateTimeEdit( dateTimeBox, "datepicker"); + QHBox *dateBox = new QHBox(settingsArea); + new QLabel(i18n("Date:"), dateBox); + d->dateTimeEdit = new KDateTimeEdit(dateBox, "datepicker"); - QHGroupBox* ratingBox = new QHGroupBox(i18n("Rating"), descriptionPage); - ratingBox->layout()->setAlignment(Qt::AlignCenter); - d->ratingWidget = new RatingWidget(ratingBox); + QHBox *ratingBox = new QHBox(settingsArea); + new QLabel(i18n("Rating:"), ratingBox); + d->ratingWidget = new RatingWidget(ratingBox); - settingsLayout->addMultiCellWidget(commentsBox, 0, 0, 0, 1); - settingsLayout->addMultiCellWidget(dateTimeBox, 1, 1, 0, 1); - settingsLayout->addMultiCellWidget(ratingBox, 2, 2, 0, 1); - settingsLayout->setRowStretch(0, 10); - - d->tab->insertTab(descriptionPage, i18n("Description"), ImageDescEditTabPriv::DESCRIPTIONPAGE); - // Tags view --------------------------------------------------- - QWidget *tagsPage = new QWidget(d->tab); - QVBoxLayout *vLayout2 = new QVBoxLayout(tagsPage, KDialog::marginHint(), KDialog::spacingHint()); - QHBox* tagsSearch = new QHBox(tagsPage); + QHBox *tagsSearch = new QHBox(settingsArea); tagsSearch->setSpacing(KDialog::spacingHint()); d->tagsSearchClearBtn = new QToolButton(tagsSearch); @ -183,7 +165,7 @ d->tagsSearchEdit = new KLineEdit(tagsSearch); d->tagsSearchEdit->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum)); - d->assignedTagsBtn = new QPushButton(tagsSearch); + d->assignedTagsBtn = new QToolButton(tagsSearch); QToolTip::add(d->assignedTagsBtn, i18n("Already Assigned Tags")); d->assignedTagsBtn->setIconSet(kapp->iconLoader()->loadIcon("tag-assigned", KIcon::NoGroup, KIcon::SizeSmall, @ -200,24 +182,25 @ d->recentTagsBtn->setPopup(popupMenu); d->recentTagsBtn->setPopupDelay(1); - d->tagsView = new TAlbumListView(tagsPage); + d->tagsView = new TAlbumListView(settingsArea); d->tagsView->addColumn(i18n("Tags")); d->tagsView->header()->hide(); d->tagsView->setSelectionMode(QListView::Single); d->tagsView->setResizeMode(QListView::LastColumn); - vLayout2->addWidget(tagsSearch); - vLayout2->addWidget(d->tagsView); - - d->tab->insertTab(tagsPage, i18n("Tags"), ImageDescEditTabPriv::TAGSPAGE); - // -------------------------------------------------- - - KConfig* config = kapp->config(); - config->setGroup("Image Properties SideBar"); - d->tab->setCurrentPage(config->readNumEntry("Comments And Tags Tab", - ImageDescEditTabPriv::DESCRIPTIONPAGE)); + d->applyBtn = new QPushButton(i18n("Apply Changes"), settingsArea); + d->applyBtn->setEnabled(false); + + settingsLayout->addMultiCellWidget(commentsBox, 0, 0, 0, 1); + settingsLayout->addMultiCellWidget(dateBox, 1, 1, 0, 1); + settingsLayout->addMultiCellWidget(ratingBox, 2, 2, 0, 1); + settingsLayout->addMultiCellWidget(d->tagsView, 3, 3, 0, 1); + settingsLayout->addMultiCellWidget(tagsSearch, 4, 4, 0, 1); + settingsLayout->addMultiCellWidget(d->applyBtn, 5, 5, 0, 1); + settingsLayout->setRowStretch(3, 10); + // -------------------------------------------------- connect(popupMenu, SIGNAL(activated(int)), @ -258,7 +241,10 @ connect(d->assignedTagsBtn, SIGNAL(toggled(bool)), this, SLOT(slotAssignedTagsToggled(bool))); - + + connect(d->applyBtn, SIGNAL(clicked()), + this, SLOT(slotApplyAllChanges())); + // Initalize --------------------------------------------- d->commentsEdit->installEventFilter(this); @ -318,12 +304,7 @ ImageDescEditTab::~ImageDescEditTab() { - applyAllChanges(); - - KConfig* config = kapp->config(); - config->setGroup("Image Properties SideBar"); - config->writeEntry("Comments And Tags Tab", d->tab->currentPageIndex()); - config->sync(); + slotApplyAllChanges(); /* AlbumList tList = AlbumManager::instance()->allTAlbums(); @ -367,8 +348,7 @ AlbumList tList = AlbumManager::instance()->allTAlbums(); for (AlbumList::iterator it = tList.begin(); it != tList.end(); ++it) { - TAlbum* tag = (TAlbum*)(*it); - + TAlbum *tag = (TAlbum*)(*it); slotAlbumAdded(tag); } } @ -376,6 +356,7 @ void ImageDescEditTab::slotModified() { d->modified = true; + d->applyBtn->setEnabled(true); } void ImageDescEditTab::assignRating(int rating) @ -383,7 +364,7 @ d->ratingWidget->setRating(rating); } -void ImageDescEditTab::applyAllChanges() +void ImageDescEditTab::slotApplyAllChanges() { if (!d->modified) return; @ -480,13 +461,14 @ } d->modified = false; + d->applyBtn->setEnabled(false); updateRecentTags(); } void ImageDescEditTab::setItem(ImageInfo *info, int itemType) { - applyAllChanges(); + slotApplyAllChanges(); if (!info) { @ -500,6 +482,7 @ setEnabled(true); d->currInfo = info; d->modified = false; + d->applyBtn->setEnabled(false); KURL fileURL; fileURL.setPath(d->currInfo->filePath()); --- trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.h #615237:615238 @ -70,7 +70,6 @ private: - void applyAllChanges(); void updateTagsView(); void updateComments(); void updateRating(); @ -86,6 +85,7 @ private slots: + void slotApplyAllChanges(); void slotModified(); void slotRightButtonClicked(QListViewItem *, const QPoint &, int); void slotTagsSearchChanged(); _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2006-12-20 21:42 ------- SVN commit 615252 by cgilles: digikam from trunk : Comments & Tags sidebar : Tags View : check if "Already Assigned Tags" button is on when user change current picture focus to refresh the assigned tags list properly. CCBUGS: 115157 M +2 -0 imagedescedittab.cpp --- trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp #615251:615252 @ -525,6 +525,8 @ ++it; } + slotAssignedTagsToggled(d->assignedTagsBtn->isOn()); + d->tagsView->blockSignals(false); } _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2006-12-20 21:53 ------- Mik, "Et voilà ". Let's me hear if 2 bugs are fixed now... (before that i go to hollidays...) Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From mikmach wp pl 2006-12-21 00:23 ------- > "Et voil?". Let's me hear if 2 bugs are fixed now... (before that i go > to hollidays...) There is still bug two: - when I have long list of tags on some branch of tags tree after filtering I see all boxes *before* assigned tag. This is not so painful but looks strange. I though about another solution. Maybe filtering should be done not to the exact tag but the *branch* where tag is located (with exclusion of root level)? In that way it would be possible to see context of that tag and allow for some manipulation on limited tree. What other users think? _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From arnd.baecker web de 2006-12-21 09:14 ------- Filtering to the branch does sound like a cool idea to me. Would there be space for another button to toggle this behaviour? _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2006-12-21 09:16 ------- free-space is limited to have a new button in this bar. Sound better to have an option in pop-up menu. Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From ach mpe mpg de 2006-12-21 20:08 ------- Hi Gilles, I like the I really like the 'Assigned Task' list. Great work! Thanks a lot! Small problem I found when playing with the new feature: a) Select all images (ctrl-a) and 'Assigned tags' no longer worked. I always see the complete expaned tree b) I assiged two tags and when I switched to recent tags nothing was listed c) Feature: Multiselect in tags view. When e.g. assigning seerver tags, like place + several people, often the same set of tags could be assigned to the next (and next) picture too. Maybe module +/- some persons. So it would be very nice to be able to select all 'assigned' tags of the photo shown and drop them on the following picture too. d) When selecting several thumbmails, IMHO, the comment, rating, date fields should be cleared and disabled. Tags can still be useful: show all tags assigned to all photos. So via selecting a tag in all photos get be tagged with this tag. Or the tag is removed from all pics when the tag is deselected. So assigning/removing is like do/undo. Achim _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2006-12-21 20:31 ------- Achim, I know all these problem. All your remarks depand of multiple items selection support of Comments & Tags side bar... witch is not yet implemented. there is another file in B.K.O about. I fact only the first item of the selection is drived by Comments & Tags. Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From arnd.baecker web de 2007-01-03 17:12 ------- I am not sure if this is the same as #41 above: If one has: - Tag0 - Tag1 - Tag2 # this should not be shown - Tag2a # this should not be shown - Tag3 - Tag3a # this should not be shown - Tag3b - x Tagged Tag # <--- this is tagged - Tag5 - Tag6 When using "Already assigned TABs", also Tag2, Tag2a, Tag3a are visible while I thought that they should not be displayed (Tag0, Tag5, Tag6 are not shown, as expected). _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2007-01-04 07:55 ------- Arnd, Strange. I will tested indeep... Somebody can reproduce this problem with current implemntation from svn ? Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From arnd.baecker web de 2007-01-05 18:42 ------- Created an attachment (id=19113) --> (http://bugs.kde.org/attachment.cgi?id=19113&action=view) screenshots of the assigned tags misbehaviour #46 is not yet fixed (svn version 620314). Interestingly, for a situation as shown in the attachment it depends on the parent (U1) being tagged or not whether its (not tagged) child (AA) is shown (which it should not). _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2007-01-05 19:03 ------- ok, Thanks for the screenshot. You have a complex tag hierarchy. I will try to reproduce the problem. Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2007-01-06 12:09 ------- Arnd, I cannot reproduce the problem here. Please, can you try to hack the implementation in this method with your tags hierarchy: void ImageDescEditTab::slotAssignedTagsToggled(bool t) It's at end of the the file /libs/imageproperties/imagedescedittab.cpp. Thanks in advance Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
> I cannot reproduce the problem here.
I see - if I remove my digikam3.db and start from scratch I cannot reproduce it anymore. Needs further investigation (I am prettyy swamped during the next 4 weeks...) There are three more issues with current svn (revision 621162): - moving tags around does not work anymore for Comments/Tags and Tag Filters on the right hand side? - Comments/Tags: there is no way to ``un-toggle'' Childs/Parents/Both - Tag Filters: there is no way to ``un-toggle'' Childs/Parents/Both Also, sometimes clicking does active the whole tree, but for other tags nothing happens at alll? (this might be another difficult to reproduce one) Hmm, should these points be better mentioned in http://bugs.kde.org/show_bug.cgi?id=139547 ? _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From arnd.baecker web de 2007-01-08 14:45 ------- > I cannot reproduce the problem here. I see - if I remove my digikam3.db and start from scratch I cannot reproduce it anymore. Needs further investigation (I am prettyy swamped during the next 4 weeks...) There are three more issues with current svn (revision 621162): - moving tags around does not work anymore for Comments/Tags and Tag Filters on the right hand side? - Comments/Tags: there is no way to ``un-toggle'' Childs/Parents/Both - Tag Filters: there is no way to ``un-toggle'' Childs/Parents/Both Also, sometimes clicking does active the whole tree, but for other tags nothing happens at alll? (this might be another difficult to reproduce one) Hmm, should these points be better mentioned in http://bugs.kde.org/show_bug.cgi?id=139547 ? _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2007-01-08 15:15 ------- >There are three more issues with current svn (revision 621162): > - moving tags around does not work anymore > for Comments/Tags and Tag Filters on the right hand side? I suspect this problem is relevant of an indeep change into digikam core about multiple selection of item support into Comments & Tags side bar... >Hmm, should these points be better mentioned in > http://bugs.kde.org/show_bug.cgi?id=139547 ? yes Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from ach@mpe.mpg.de
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=115157 ------- Additional Comments From caulier.gilles kdemail net 2007-01-08 18:42 ------- Arnd, About comment #48, I think that i have fixed this point in svn. Please try again. Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |