Re: [Okular-devel] Fwd: need guidance

2014-07-20 Thread Palash Kulshrestha
Sorry,I was not aware That this bug was not junior job. Is there any work
you could suggest for me(bug /documentation or anything appropriate.)

When i follow these instructions
palash@palash-Lenovo-G580:~/Documents/mygit/okular$ cmake
-DCMAKE_INSTALL_PREFIX=/home/palash/.kde/share/kde4 ..

it gives long output + this
-- Generating done
-- Build files have been written to: /home/palash/Documents/mygit/okular

now running make in the build folder wont run as makefiles are written in
okular not okular/build

So i run using qtcreator in which i
open-project>/Documents/mygit/okular/CMakeLists.txt
Then i give the arguments /home/palash/Documents/mygit/okular
-DCMAKE_INSTALL_PREFIX=/home/palash/.kde/share/kde4 it also builds in the
okular directory.

Where am i getting wrong. Or Am I doing it all wrong? Thanks in Advance!



On Tue, Jul 15, 2014 at 2:28 AM, Albert Astals Cid  wrote:

> El Divendres, 11 de juliol de 2014, a les 20:35:03, Palash Kulshrestha va
> escriure:
> > I was thinking about this bug
> >
> > https://bugs.kde.org/show_bug.cgi?id=325119
>
> You are aware this is not marked as junior job like other bugs are, right?
> junior-jobs are bugs we've marked as easy and manageable to do, this is a
> bigger probably more complex one.
>
> > which is --> Size of inline notes not adjusted to font size and does not
> > respect drawn boundaries
> >
> > I found this minor bug in the minor bugs section. As you have been
> > constantly suggesting to use grep i grepped the "Inline Note" in the
> source
> > code folder. --> (grep -H -l  -r "Inline Note" *)
> >
> > These are the matching files
> >
> > active/components/CMakeFiles/okularplugin.dir/__/__/ui/guiutils.o
> > CMakeFiles/okularpart.dir/ui/annotationpropertiesdialog.o
> > CMakeFiles/okularpart.dir/ui/pageviewannotator.o
> > CMakeFiles/okularpart.dir/ui/guiutils.o
> > CMakeFiles/okularpart.dir/conf/widgetannottools.o
> > conf/widgetannottools.cpp
> > doc/index.docbook
> > lib/libokularplugin.so
> > lib/okularpart.so
> > ui/guiutils.cpp
> > ui/pageviewannotator.cpp
> > ui/annotationpropertiesdialog.cpp
>
> You shouldn't build in the source dir, this is always discouraged.
>
> > I searched in the pageviewannotator.cpp and tried some changes in -->
> >
> > void PageViewAnnotator::slotToolSelected( int toolID )
> > {
> > //some code
> >
> > //display the tooltip
> >
> > else if ( annotType == "note-inline" )
> > tip = i18nc( "Annotation tool", "Inline Text Annotation
> > (drag to select a zone (some text changed))" );
> >
> >   //some code
> >
> >
> > }
> >
> >
> > After building the project in Qtcreator and running it the tooltip does
> not
> > changes for the inline text annotation tool.
> > "So am i at the right spot or is there any place else i should be looking
> > into."
>
> Are you following the build + run instructions in
> http://okular.kde.org/download.php ?
>
> >
> > I wasn't able to join irc today due to some self certified application
> > setting in my browsers. I am trying to find a way to  change that setting
> > and run the irc applet in browser.
>
> Browser? Why would you want to irc in a browser instead of using a real irc
> client?
>
> Cheers,
>   Albert
>
> >
> > Thanks
>
> ___
> Okular-devel mailing list
> Okular-devel@kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel
>



-- 
Regards
Palash Kulshreshtha
Computer Engg.
ZHCET AMU

(explore Academic projects @ www.projectinminds.com
)
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 336018] Horizontal resolution halved with 4k tiling monitor.

2014-07-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=336018

Albert Astals Cid  changed:

   What|Removed |Added

  Latest Commit||http://commits.kde.org/okul
   ||ar/39de55eebf0641bd32fd0af9
   ||be7e2f50a9e2bbbc
   Version Fixed In||4.14.0
 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |FIXED

--- Comment #25 from Albert Astals Cid  ---
Git commit 39de55eebf0641bd32fd0af9be7e2f50a9e2bbbc by Albert Astals Cid.
Committed on 20/07/2014 at 20:30.
Pushed by aacid into branch 'KDE/4.14'.

If the dpi calculations don't give a reasonably square pixel fallback to other
methods
FIXED-IN: 4.14.0

M  +21   -2core/utils.cpp

http://commits.kde.org/okular/39de55eebf0641bd32fd0af9be7e2f50a9e2bbbc

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


Re: [Okular-devel] New view actions in Okular

2014-07-20 Thread Albert Astals Cid
El Divendres, 18 de juliol de 2014, a les 16:15:20, Siddhartha va escriure:
> Sorry for replying this late. A new job and a different city :)
> 
> On Thu, Jul 10, 2014 at 4:45 AM, Albert Astals Cid  wrote:
> > I'm not sure they are that useful, do you change those modes so often?
> 
> I frequently switch between the two actions.
> 
> * Fit Page Discontinuous use cases: Presentations in pdf format, quickly
> browsing through a pdf/ebook, go up or down a few pages, etc can easily be
> done in this mode by just scrolling with the mouse, which basically flies
> through the pages for an overview or until I reach the desired page.
> 
> * Fit Width Continuous: This is when I want to read the pdf/ebook.
> 
> I will be surprised if no one else uses this workflow. Is there a faster
> way of navigating through the pages (not typing in page number of course) ?

I will be surprised if there is no zillions of people with different 
workflows, we can't add buttons in the toolbar to make them all happy, would 
mean ending up with 100 buttons there, and then everyone would be unhappy.

Sincerely unless backed up with more data (that at the moment we don't have a 
way to get) I don't see us changing the UI in this direction.

Cheers,
  Albert

> 
> > How is the rest of the UI affected?
> 
> I am not sure if I understood your question. Earlier what I used to have
> the three buttons on the toolbar: Fit Page, Fit Width and Continuous.
> Switching to any of the above mode required clicking for eg Fit Page and
> Continuous. Now, I have two buttons and need to click only one button.
> 
> Regards,
> Siddhartha

___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


Re: [Okular-devel] Fwd: need guidance

2014-07-20 Thread Albert Astals Cid
El Diumenge, 20 de juliol de 2014, a les 13:29:15, Palash Kulshrestha va 
escriure:
> Sorry,I was not aware That this bug was not junior job. Is there any work
> you could suggest for me(bug /documentation or anything appropriate.)

I think you may want to look at the junior jobs. Have you done that? You may 
also want to read some net-etiquete documents on why top posting is not a good 
thing.

> 
> When i follow these instructions
> palash@palash-Lenovo-G580:~/Documents/mygit/okular$ cmake
> -DCMAKE_INSTALL_PREFIX=/home/palash/.kde/share/kde4 ..

What, you're installing in /home/palash/.kde/share/kde4, why would you do 
that?

> it gives long output + this
> -- Generating done
> -- Build files have been written to: /home/palash/Documents/mygit/okular
> 
> now running make in the build folder wont run as makefiles are written in
> okular not okular/build

No, makefiles are not in okular, if thye are there is because you're mixing 
things (i.e. you ran cmake more than once).

Cheers,
  Albert

> So i run using qtcreator in which i
> open-project>/Documents/mygit/okular/CMakeLists.txt
> Then i give the arguments /home/palash/Documents/mygit/okular
> -DCMAKE_INSTALL_PREFIX=/home/palash/.kde/share/kde4 it also builds in the
> okular directory.
> 
> Where am i getting wrong. Or Am I doing it all wrong? Thanks in Advance!
> 
> On Tue, Jul 15, 2014 at 2:28 AM, Albert Astals Cid  wrote:
> > El Divendres, 11 de juliol de 2014, a les 20:35:03, Palash Kulshrestha va
> > 
> > escriure:
> > > I was thinking about this bug
> > > 
> > > https://bugs.kde.org/show_bug.cgi?id=325119
> > 
> > You are aware this is not marked as junior job like other bugs are, right?
> > junior-jobs are bugs we've marked as easy and manageable to do, this is a
> > bigger probably more complex one.
> > 
> > > which is --> Size of inline notes not adjusted to font size and does not
> > > respect drawn boundaries
> > > 
> > > I found this minor bug in the minor bugs section. As you have been
> > > constantly suggesting to use grep i grepped the "Inline Note" in the
> > 
> > source
> > 
> > > code folder. --> (grep -H -l  -r "Inline Note" *)
> > > 
> > > These are the matching files
> > > 
> > > active/components/CMakeFiles/okularplugin.dir/__/__/ui/guiutils.o
> > > CMakeFiles/okularpart.dir/ui/annotationpropertiesdialog.o
> > > CMakeFiles/okularpart.dir/ui/pageviewannotator.o
> > > CMakeFiles/okularpart.dir/ui/guiutils.o
> > > CMakeFiles/okularpart.dir/conf/widgetannottools.o
> > > conf/widgetannottools.cpp
> > > doc/index.docbook
> > > lib/libokularplugin.so
> > > lib/okularpart.so
> > > ui/guiutils.cpp
> > > ui/pageviewannotator.cpp
> > > ui/annotationpropertiesdialog.cpp
> > 
> > You shouldn't build in the source dir, this is always discouraged.
> > 
> > > I searched in the pageviewannotator.cpp and tried some changes in -->
> > > 
> > > void PageViewAnnotator::slotToolSelected( int toolID )
> > > {
> > > //some code
> > > 
> > > //display the tooltip
> > > 
> > > else if ( annotType == "note-inline" )
> > > 
> > > tip = i18nc( "Annotation tool", "Inline Text Annotation
> > > 
> > > (drag to select a zone (some text changed))" );
> > > 
> > >   //some code
> > > 
> > > }
> > > 
> > > 
> > > After building the project in Qtcreator and running it the tooltip does
> > 
> > not
> > 
> > > changes for the inline text annotation tool.
> > > "So am i at the right spot or is there any place else i should be
> > > looking
> > > into."
> > 
> > Are you following the build + run instructions in
> > http://okular.kde.org/download.php ?
> > 
> > > I wasn't able to join irc today due to some self certified application
> > > setting in my browsers. I am trying to find a way to  change that
> > > setting
> > > and run the irc applet in browser.
> > 
> > Browser? Why would you want to irc in a browser instead of using a real
> > irc
> > client?
> > 
> > Cheers,
> > 
> >   Albert
> >   
> > > Thanks
> > 
> > ___
> > Okular-devel mailing list
> > Okular-devel@kde.org
> > https://mail.kde.org/mailman/listinfo/okular-devel

___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel